Skip to content

Commit 1a8382b

Browse files
committed
Document the deprecated BOOST_INTERPROCESS_USE_PTHREAD_AS_SYSTEMWIDE_THREAD_ID option
1 parent 9e1076c commit 1a8382b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

doc/interprocess.qbk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6869,7 +6869,8 @@ thank them:
68696869
was based on pid_t+pthread_t identifiers, something incorrect (as pthread_t was not suppossed to identify a thread, even inside a process).
68706870
In this version, several Unix-like systems use a particular and correct global thread identifier (`gettid()` on Linux,
68716871
`pthread_getthreadid_np` on FreeBSD, `pthread_threadid_np` on MacOS, `_lwp_self` on NetBSD, `getthrid` on OpenBSD, `thr_self` on Solaris,
6872-
`GetCurrentThreadId` on Cygwin, `gettid` on QNX, etc...).
6872+
`GetCurrentThreadId` on Cygwin, `gettid` on QNX, etc...). The programmer can define `BOOST_INTERPROCESS_USE_PTHREAD_AS_SYSTEMWIDE_THREAD_ID`
6873+
to go back to the old `pthread_t` based behaviour, but this option is deprecated and will be removed in a few releases.
68736874

68746875
* Fixed bugs:
68756876
* [@https://github.com/boostorg/interprocess/issues/242 GitHub #242 (['"Cygwin compatibility issues"])].

0 commit comments

Comments
 (0)