FreeBSD Bugzilla – Attachment 206762 Details for
Bug 240022
sem_wait broken by r350481
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
testcase
semtst.c (text/plain), 311 bytes, created by
Andrew "RhodiumToad" Gierth
on 2019-08-21 19:31:43 UTC
(
hide
)
Description:
testcase
Filename:
MIME Type:
Creator:
Andrew "RhodiumToad" Gierth
Created:
2019-08-21 19:31:43 UTC
Size:
311 bytes
patch
obsolete
> >#include <dlfcn.h> >#include <semaphore.h> > >static sem_t sem; >static struct timespec ts = { .tv_sec = 0, .tv_nsec = 100000000 }; > >int main(void) >{ > sem_init(&sem, 0, 0); > sem_timedwait(&sem, &ts); > > dlopen("/usr/lib/libthr.so", RTLD_GLOBAL | RTLD_NOW); > > sem_timedwait(&sem, &ts); > > return 0; >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 240022
: 206762