Changeset 12296 in webkit for trunk/JavaScriptCore/kjs/collector.cpp
- Timestamp:
- Jan 22, 2006, 8:39:36 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/collector.cpp
r12028 r12296 50 50 #include <pthread.h> 51 51 52 #ifdef HAVE_PTHREAD_NP_H 53 54 #include <pthread_np.h> 55 56 #endif 57 52 58 #endif 53 59 … … 310 316 void *stackBase = 0; 311 317 pthread_attr_t sattr; 318 #ifdef HAVE_PTHREAD_NP_H 319 // e.g. on FreeBSD 5.4, [email protected] 320 pthread_attr_get_np(thread, &sattr); 321 #else 312 322 // FIXME: this function is non-portable; other POSIX systems may have different np alternatives 313 323 pthread_getattr_np(pthread_self(), &sattr); 324 #endif 314 325 // Should work but fails on Linux (?) 315 326 // pthread_attr_getstack(&sattr, &stackBase, &stackSize);
Note:
See TracChangeset
for help on using the changeset viewer.