Files
rust/src/libstd
bors bf416e7daf auto merge of #9713 : sfackler/rust/dynamic_lib, r=alexcrichton
The root issue is that dlerror isn't reentrant or even thread safe.

The solution implemented here is to make a yielding spin lock over an
AtomicFlag. This is pretty hacky, but the best we can do at this point.
As far as I can tell, it isn't possible to create a global mutex without
having to initialize it in a single threaded context.

The Windows code isn't affected since errno is thread-local on Windows
and it's running in an atomically block to ensure there isn't a green
thread context switch.

Closes #8156
2013-10-05 15:41:35 -07:00
..
2013-10-02 08:57:03 -07:00
2013-10-05 13:59:06 -07:00
2013-09-30 23:21:18 -07:00
2013-09-30 23:21:18 -07:00
2013-09-30 23:21:18 -07:00
2013-09-30 23:21:18 -07:00
2013-10-01 14:54:10 -04:00
2013-08-30 22:02:24 -04:00
2013-09-30 23:21:18 -07:00
2013-09-12 18:54:13 -07:00
2013-09-30 23:21:18 -07:00
2013-09-05 00:58:12 -04:00
2013-09-30 23:21:18 -07:00
2013-09-30 23:21:18 -07:00
2013-10-01 15:53:13 -07:00
2013-08-15 21:12:34 -04:00
2013-10-02 08:57:03 -07:00
2013-09-27 00:44:32 -07:00
2013-09-30 23:21:18 -07:00
2013-10-03 12:37:33 -07:00
2013-10-02 08:57:03 -07:00
2013-10-01 00:06:51 -07:00
2013-10-01 15:53:13 -07:00
2013-09-30 23:21:18 -07:00
2013-10-04 11:24:18 -07:00
2013-10-04 11:24:18 -07:00
2013-09-30 23:21:18 -07:00
2013-09-30 23:21:18 -07:00
2013-09-30 23:21:18 -07:00
2013-09-30 23:21:18 -07:00
2013-10-01 14:54:10 -04:00
2013-09-30 23:21:18 -07:00
2013-09-30 23:21:18 -07:00
2013-09-09 03:21:46 -04:00
2013-09-12 18:54:13 -07:00
2013-09-30 23:21:18 -07:00