Ralf Jung
df4623e5d8
trophy case: consistent wording (X doing Y)
2020-05-02 11:08:20 +02:00
Ralf Jung
15c299e657
Adjust wording
2020-05-02 11:04:45 +02:00
bors
7259bc30ab
Auto merge of #1385 - RalfJung:rustup, r=RalfJung
...
rustup
before making a rustc PR, just to be sure
2020-05-02 09:01:14 +00:00
Ralf Jung
ee6460e763
rustup
2020-05-02 11:00:37 +02:00
bors
4d934fbb3e
Auto merge of #1384 - RalfJung:rustup, r=RalfJung
...
rustup for fixed error messages
2020-05-02 00:17:20 +00:00
Ralf Jung
dbd6403955
rustup for fixed error messages
2020-05-02 02:13:48 +02:00
Brian Anderson
5e25dfaef8
Add another tikv stacked borrowing error to trophy case
2020-05-01 21:34:16 +00:00
bors
d606172f32
Auto merge of #1381 - RalfJung:rustup, r=RalfJung
...
rustup; fix for changed error messages
2020-05-01 12:44:29 +00:00
Ralf Jung
393165f859
rustup; fix for changed error messages
2020-05-01 14:43:59 +02:00
bors
04f235d555
Auto merge of #1380 - RalfJung:rustup, r=RalfJung
...
rustup, adjust error messages
2020-05-01 08:30:25 +00:00
Ralf Jung
1a704a517a
rustup, adjust error messages
2020-05-01 10:29:39 +02:00
bors
6c4be68b79
Auto merge of #1379 - RalfJung:macos-fn-name, r=RalfJung
...
make sure macos function has 'macos' in its name
also tiny README tweak
2020-04-30 17:40:40 +00:00
Ralf Jung
580c1194d9
README tweak
2020-04-30 19:39:56 +02:00
Ralf Jung
ba670d6970
make sure macos function has 'macos' in its name
2020-04-30 19:38:17 +02:00
bors
351d46d3fb
Auto merge of #1284 - vakaras:add-threads-cr2, r=RalfJung
...
Implement basic support for concurrency (Linux/macos only)
Changes (most new code is in `src/threads.rs` and `src/shims/foreign_items/posix.rs`):
1. Move the stack from `Machine` to a newly created `Thread` struct.
2. Add a `ThreadSet` struct that manages the threads.
3. Change `canonical_alloc_id` to create a unique allocation id for each thread local and thread (the responsible struct is `ThreadLocalStorage`)
4. Change the code to execute the thread local destructors immediately when a thread terminates.
5. Add the most basic round-robin scheduler.
This pull request depends on [these changes to the compiler](https://github.com/rust-lang/rust/pull/70598 ).
2020-04-30 16:21:43 +00:00
Vytautas Astrauskas
48da0cf489
Fix prctl SET_NAME and GET_NAME behaviour.
2020-04-30 08:35:59 -07:00
bors
7aecd7099d
Auto merge of #1377 - brson:servo-trophy, r=RalfJung
...
Add servo_arc to trophy case
2020-04-30 08:41:33 +00:00
Ralf Jung
1aabd6da75
Tweak error wording
2020-04-30 10:24:57 +02:00
bors
4f9e1db8d5
Auto merge of #1378 - RalfJung:workspace-error, r=RalfJung
...
more helpful error on workspaces
2020-04-30 08:20:25 +00:00
Ralf Jung
e9212d14ac
more helpful error on workspaces
2020-04-30 10:19:34 +02:00
Brian Anderson
488f3801e2
Add servo_arc to trophy case
2020-04-30 00:03:43 +00:00
Vytautas Astrauskas
603ec0b3d8
Fix a regression in Windows dtors.
2020-04-29 15:20:26 -07:00
Vytautas Astrauskas
0e052ab897
Use Entry API in set_dtors_running.
2020-04-29 15:12:09 -07:00
Vytautas Astrauskas
46b03174d0
Improve code readability and comments.
2020-04-29 13:16:22 -07:00
bors
dc91c172a4
Auto merge of #1375 - RalfJung:rustup, r=RalfJung
...
rustup for more LocalDefId changes
2020-04-28 08:31:05 +00:00
Ralf Jung
a5445e0230
rustup for more LocalDefId changes
2020-04-28 10:30:21 +02:00
Vytautas Astrauskas
3b5854191c
Fix MacOS and Windows builds.
2020-04-27 15:21:01 -07:00
Vytautas Astrauskas
1355574beb
Delete remaining tls entries after all destructors completed.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
df2ca53b69
Make From implementations non-failing.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
c56ef31780
Improve comments.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
331dbd1469
Add a test for joining in a destructor.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
f204b67b0f
Merge dtors_running and last_dtor_key fields.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
356aecce7f
Add a FIXME.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
207c6e7fa7
Improve comments and code clarity.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
9ba3ef2a44
Change representation and conversion of ThreadId and BlockSetId.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
174adad2b3
Use DLL_THREAD_DETACH when calling windows TLS destructor.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
d9e18ada39
Make sure to remove thread local data only if we have destructor.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
911ff7eade
Improve style and comments.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
c4574dde8d
Many small changes to clean up code.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
6842eb2b84
Rename global tls dtor to thread dtor.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
39efdf31cf
Move prctl test to the same file as other libc tests.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
60cd8aa4b0
Delete a duplicate test.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
64164b10e8
Improve comments.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
ff5e35b90a
Added a test that joining main is UB.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
bc9d007e3e
Improve Debug formatting of the thread name.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
04abf066f1
Move copying of the thread name to the client side.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
feb188360e
Unify TLS dtors; move stepping outside.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
8240ed26a9
Change the test not to rely on internals.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
90e9a87fa7
Add an explanatory comment to the test.
2020-04-27 14:26:36 -07:00
Vytautas Astrauskas
cc9248a7c8
Ignore prctl test on MacOS because it does not support it.
2020-04-27 14:26:36 -07:00