Opened 11 years ago
Last modified 10 years ago
#2332 closed defect
Thread-safe runtime system — at Version 4
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | Run-time | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
This is a collection of non-threadsafe parts that we probably should resolve for bootstrapping if we want to run parallel omc:
- Message system (buffers)
- Jump buffers (setjmp; global, stack overflow, simulation stuff (less important))
- Java runtime (does anyone care?)
- Compiler/runtime: Need to consider error-buffers in parallel. Probably each thread wants its own error-stack to manipulate
- More?
Change History (4)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:2 by , 11 years ago
comment:3 by , 11 years ago
pthread_rwlock_t
to lock most global variables (we write to them very rarely, but we should lock them anyway).
comment:4 by , 11 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Thread-local storage possible to mimic globals