- Timestamp:
- Nov 21, 2008 3:44:27 PM (16 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r14429 r14468 388 388 r3/linux/semevent-linux.cpp \ 389 389 r3/linux/semeventmulti-linux.cpp 390 # with glibc >= 2.6 we use the libc implementation391 r3/linux/semevent-linux.cpp_INCS = .392 r3/linux/semeventmulti-linux.cpp_INCS = .393 390 ifdef RT_NEW_LINUX_MUTEX_CODE 394 391 RuntimeR3_SOURCES.linux.amd64 += \ -
trunk/src/VBox/Runtime/r3/linux/semevent-linux.cpp
r14429 r14468 32 32 #if __GLIBC_PREREQ(2,6) 33 33 34 /* glibc 2.6 fixed a serious bug in the mutex implementation 35 * The external refernce to epoll_pwait is a hack which prevents 36 * that we link against glibc < 2.6 */ 37 34 /* 35 * glibc 2.6 fixed a serious bug in the mutex implementation. We wrote this 36 * linux specific event semaphores code in order to work around the bug. As it 37 * turns out, this code seems to have an unresolved issue (#2599), so we'll 38 * fall back on the pthread based implementation if glibc is known to contain 39 * the bug fix. 40 * 41 * The external refernce to epoll_pwait is a hack which prevents that we link 42 * against glibc < 2.6. 43 */ 44 #include "../posix/semevent-posix.cpp" 38 45 asm volatile (".global epoll_pwait"); 39 40 #include "r3/posix/semevent-posix.cpp"41 46 42 47 #else /* glibc < 2.6 */ -
trunk/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
r14429 r14468 33 33 #if __GLIBC_PREREQ(2,6) 34 34 35 /* glibc 2.6 fixed a serious bug in the mutex implementation. 36 * The external refernce to epoll_pwait is a hack which prevents 37 * that we link against glibc < 2.6 */ 38 35 /* 36 * glibc 2.6 fixed a serious bug in the mutex implementation. We wrote this 37 * linux specific event semaphores code in order to work around the bug. As it 38 * turns out, this code seems to have an unresolved issue (#2599), so we'll 39 * fall back on the pthread based implementation if glibc is known to contain 40 * the bug fix. 41 * 42 * The external refernce to epoll_pwait is a hack which prevents that we link 43 * against glibc < 2.6. 44 */ 45 #include "../posix/semeventmulti-posix.cpp" 39 46 asm volatile (".global epoll_pwait"); 40 41 #include "r3/posix/semeventmulti-posix.cpp"42 47 43 48 #else /* glibc < 2.6 */
Note:
See TracChangeset
for help on using the changeset viewer.