History log of /freebsd-10.1-release/lib/libthr/arch/i386/i386/pthread_md.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 157461 04-Apr-2006 davidxu

Simplify _get_curthread() and _tcb_ctor because libc and rtld now
already allocate thread pointer space in tls block for initial thread.
Only i386 and amd64 have been done, others still have to be tested.


# 154095 07-Jan-2006 davidxu

Remove functions i386_get_gsbase and i386_set_gsbase, they were already
in libc.


# 145438 23-Apr-2005 davidxu

Remove unused variable.


# 145437 23-Apr-2005 davidxu

Now libthr only uses GDT based tls on i386. using LDT can only increase
clock cycles and has 8191 threads limitation.


# 145431 23-Apr-2005 davidxu

Add i386_get_gsbase, i386_set_gsbase since old libc doesn't have the
functions, otherwise user ports have to be rebuilt.


# 145040 13-Apr-2005 peter

Adapt the libpthread patch for using i386_set_gsbase() to libthr.


# 144518 01-Apr-2005 davidxu

Import my recent 1:1 threading working. some features improved includes:
1. fast simple type mutex.
2. __thread tls works.
3. asynchronous cancellation works ( using signal ).
4. thread synchronization is fully based on umtx, mainly, condition
variable and other synchronization objects were rewritten by using
umtx directly. those objects can be shared between processes via
shared memory, it has to change ABI which does not happen yet.
5. default stack size is increased to 1M on 32 bits platform, 2M for
64 bits platform.
As the result, some mysql super-smack benchmarks show performance is
improved massivly.

Okayed by: jeff, mtm, rwatson, scottl