David 'Digit' Turner
9831ad3ce6
libc: speed-up flockfile()/funlockfile()
...
For Honeycomb, we added proper file thread-safety for
all FILE* operations. However, we did implement that by
using an out-of-band hash table to map FILE* pointers
to phtread_mutex_t mutexes, because we couldn't change
the size of 'struct _sFILE' without breaking the ABI.
It turns out that our BSD-derived code already has
some support code to extend FILE* objects, so use it
instead. See libc/stdio/fileext.h
This patch gets rid of the hash table, and put the
mutex directly into the sFILE extension.
Change-Id: If1c3fe0a0a89da49c568e9a7560b7827737ff4d0
2011-11-15 13:16:42 +01:00
..
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2009-03-03 19:28:35 -08:00
2011-02-14 09:32:56 -08:00
2009-03-03 19:28:35 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2009-03-03 19:28:35 -08:00
2011-02-14 09:32:56 -08:00
2011-11-15 13:16:42 +01:00
2011-02-14 09:32:56 -08:00
2011-11-15 13:16:42 +01:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2011-11-15 13:16:42 +01:00
2010-05-17 09:34:13 -07:00
2010-05-17 09:34:13 -07:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2009-03-03 19:28:35 -08:00
2011-02-14 09:32:56 -08:00
2009-03-03 19:28:35 -08:00
2011-02-14 09:32:56 -08:00
2009-03-03 19:28:35 -08:00
2011-01-09 11:38:56 -08:00
2011-01-09 11:38:56 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2009-03-03 19:28:35 -08:00
2011-02-14 09:32:56 -08:00
2009-03-03 19:28:35 -08:00
2011-02-14 09:32:56 -08:00
2009-03-03 19:28:35 -08:00
2010-10-15 01:10:31 +08:00
2010-05-17 09:34:13 -07:00
2011-02-14 09:32:56 -08:00
2010-05-17 09:34:13 -07:00
2011-02-14 09:32:56 -08:00
2009-03-03 19:28:35 -08:00
2011-02-14 09:32:56 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2010-05-17 09:34:13 -07:00
2010-05-17 09:34:13 -07:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2011-05-17 04:47:06 -07:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2011-02-14 09:32:56 -08:00
2011-02-14 09:32:56 -08:00
2010-05-17 09:34:13 -07:00
2011-02-14 09:32:56 -08:00
2011-07-02 20:29:25 -04:00
2009-03-03 19:28:35 -08:00