hurd: Enable thread-safe i386 atomic instructions
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads to 1.
This commit is contained in:
parent
1cf4ae7fe6
commit
46f2474e93
|
@ -1,3 +1,8 @@
|
||||||
|
2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
|
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
|
||||||
|
to 1.
|
||||||
|
|
||||||
2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
|
2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
|
||||||
|
|
||||||
* benchtests/scripts/compare_bench.py (__main__): use the argparse
|
* benchtests/scripts/compare_bench.py (__main__): use the argparse
|
||||||
|
|
|
@ -117,6 +117,8 @@ _hurd_tls_init (tcbhead_t *tcb)
|
||||||
/* This field is used by TLS accesses to get our "thread pointer"
|
/* This field is used by TLS accesses to get our "thread pointer"
|
||||||
from the TLS point of view. */
|
from the TLS point of view. */
|
||||||
tcb->tcb = tcb;
|
tcb->tcb = tcb;
|
||||||
|
/* We always at least start the sigthread anyway. */
|
||||||
|
tcb->multiple_threads = 1;
|
||||||
|
|
||||||
/* Get the first available selector. */
|
/* Get the first available selector. */
|
||||||
int sel = -1;
|
int sel = -1;
|
||||||
|
|
Loading…
Reference in New Issue