Opened 17 years ago
Closed 17 years ago
#85 closed defect (fixed)
Do not create a new "pending" fibril after each received call
| Reported by: | Jakub Jermář | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4.1 |
| Component: | helenos/lib/c | Version: | mainline |
| Keywords: | async fibrils | Cc: | |
| Blocker for: | Depends on: | ||
| See also: |
Description
Currently, libc's handle_call() will create a new "pending" fibril after each received call. This is at least suboptimal and can lead to problematic code such as race conditions. I can also imagine some infinite nesting situations.
There should be one (or a small bound number) of pending fibrils that would make use e.g. of condition variables.
Note:
See TracTickets
for help on using tickets.

Fixed in revision 4542.