Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174983469
D60434.id188945.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
605 B
Referenced Files
None
Subscribers
None
D60434.id188945.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
@@ -171,6 +171,7 @@
int m_spinloops;
int m_yieldloops;
int m_ps; /* pshared init stage */
+ struct pthread_mutex *m_rb_prev;
/*
* Link for all mutexes a thread currently owns, of the same
* prio type.
@@ -178,7 +179,6 @@
TAILQ_ENTRY(pthread_mutex) m_qe;
/* Link for all private mutexes a thread currently owns. */
TAILQ_ENTRY(pthread_mutex) m_pqe;
- struct pthread_mutex *m_rb_prev;
};
struct pthread_mutex_attr {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 8, 9:22 AM (16 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40411604
Default Alt Text
D60434.id188945.diff (605 B)
Attached To
Mode
D60434: libthr: Reorder pthread mutex to prevent false sharing
Attached
Detach File
Event Timeline
Log In to Comment