Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157454551
D10545.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
535 B
Referenced Files
None
Subscribers
None
D10545.diff
View Options
Index: head/lib/libc/gen/sem_new.c
===================================================================
--- head/lib/libc/gen/sem_new.c
+++ head/lib/libc/gen/sem_new.c
@@ -104,12 +104,8 @@
static void
sem_module_init(void)
{
- pthread_mutexattr_t ma;
- _pthread_mutexattr_init(&ma);
- _pthread_mutexattr_settype(&ma, PTHREAD_MUTEX_RECURSIVE);
- _pthread_mutex_init(&sem_llock, &ma);
- _pthread_mutexattr_destroy(&ma);
+ _pthread_mutex_init(&sem_llock, NULL);
_pthread_atfork(sem_prefork, sem_postfork, sem_child_postfork);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 22, 3:34 PM (12 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33424103
Default Alt Text
D10545.diff (535 B)
Attached To
Mode
D10545: Make semaphore names list mutex non-recursive.
Attached
Detach File
Event Timeline
Log In to Comment