Changeset 17566 in webkit


Ignore:
Timestamp:
Nov 3, 2006 2:01:09 AM (17 years ago)
Author:
staikos
Message:

2006-11-02 George Staikos <staikos@kde.org>

Reviewed by Maciej.

  • collector.cpp: Remove a deprecated pthreads call.
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r17553 r17566  
     12006-11-02  George Staikos <staikos@kde.org>
     2
     3        Reviewed by Maciej.
     4
     5        * collector.cpp:
     6        Remove a deprecated pthreads call.
     7
    182006-11-02  Anders Carlsson  <acarlsson@apple.com>
    29
  • trunk/JavaScriptCore/kjs/collector.cpp

    r17372 r17566  
    333333        pthread_getattr_np(thread, &sattr);
    334334#endif
    335         // Should work but fails on Linux (?)
    336         // pthread_attr_getstack(&sattr, &stackBase, &stackSize);
    337         pthread_attr_getstackaddr(&sattr, &stackBase);
     335        size_t stackSize;
     336        int rc = pthread_attr_getstack(&sattr, &stackBase, &stackSize);
     337        (void)rc; // FIXME: deal with error code somehow?  seems fatal...
    338338        assert(stackBase);
     339        stackBase = (void*)(size_t(stackBase) + stackSize);
    339340        stackThread = thread;
    340341    }
Note: See TracChangeset for help on using the changeset viewer.