Opened 14 years ago
Closed 14 years ago
#232 closed defect (fixed)
thread_update_accounting() asserts locking policy which is not adhered to
Reported by: | Jiri Svoboda | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 0.4.3 |
Component: | helenos/kernel/generic | Version: | mainline |
Keywords: | Cc: | ||
Blocker for: | Depends on: | ||
See also: |
Description
The docblock of thread_update_accounting() states: 'Note that thread_lock on THREAD must be already held and interrupts must be already disabled.' But it is called unprotected from syscall_handler() where neither is true.
Change History (3)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Component: | unspecified → kernel/generic |
---|
Note:
See TracTickets
for help on using tickets.
In exc_dispatch() interrupts are disabled, but THREAD lock is NOT held.