aboutsummaryrefslogtreecommitdiff
path: root/pthreads/TODO
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-02-13 11:03:57 +0100
committermarha <marha@users.sourceforge.net>2013-02-13 11:03:57 +0100
commit8fa17b13062c1e2acca542cc7a2ccb09aca874e8 (patch)
tree158a6239b0fdf2abf63fb7365b4cd4886c15f5b1 /pthreads/TODO
parent4a165ef2f762a4ce9155f2a3626692326bda616d (diff)
parentb41f74438672dd682bc01ae818cb3da654f22c1e (diff)
downloadvcxsrv-8fa17b13062c1e2acca542cc7a2ccb09aca874e8.tar.gz
vcxsrv-8fa17b13062c1e2acca542cc7a2ccb09aca874e8.tar.bz2
vcxsrv-8fa17b13062c1e2acca542cc7a2ccb09aca874e8.zip
Merge remote-tracking branch 'origin/released'
* origin/released: Updated to latest CVS version of pthreads Conflicts: pthreads/Makefile
Diffstat (limited to 'pthreads/TODO')
-rw-r--r--pthreads/TODO16
1 files changed, 16 insertions, 0 deletions
diff --git a/pthreads/TODO b/pthreads/TODO
index fa9efc46e..e59205b4f 100644
--- a/pthreads/TODO
+++ b/pthreads/TODO
@@ -4,4 +4,20 @@
1. Implement PTHREAD_PROCESS_SHARED for semaphores, mutexes,
condition variables, read/write locks, barriers.
+2. For version 3 onwards: the following types need to change, resulting in an ABI
+ change:
+ a) ptw32_handle_t (a.k.a. pthread_t)
+ Change the reuse counter from unsigned int to size_t. Type "int" on 32 bit
+ and 64 bit Windows is 32 bits wide.
+
+ To give an indication of relative effectiveness of the current "unsigned int",
+ consider an application that creates and detaches threads at the rate of 1
+ per millisecond. At this rate the reuse counter will max out after 49 days.
+
+ After changing to "size_t" an application compiled for x64 and creating and
+ detaching a thread every nanosecond would max out after 584 years.
+
+ b) pthread_once_t
+ Remove unused elements.
+ \ No newline at end of file