Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177280659
D61213.1794076030.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
327 B
Referenced Files
None
Subscribers
None
D61213.1794076030.diff
View Options
diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h
--- a/lib/libthr/thread/thr_private.h
+++ b/lib/libthr/thread/thr_private.h
@@ -945,7 +945,7 @@
static inline void
_thr_check_init(void)
{
- if (_thr_initial == NULL)
+ if (__predict_false(_thr_initial == NULL))
_libpthread_init(NULL);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 7, 6:27 PM (4 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41523969
Default Alt Text
D61213.1794076030.diff (327 B)
Attached To
Mode
D61213: libthr: Early return in thr_once
Attached
Detach File
Event Timeline