Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 10 years ago

Closed 10 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.

Change History (1)

comment:1 Changed 10 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

Fixed in revision 4542.

Note: See TracTickets for help on using tickets.