On 05/08/2012 02:02 PM, Jiri Svoboda wrote: > suppose I want to have a fibril which actually terminates. What do I > need to do in order to ensure that the fibril's resources get freed > up? For a thread this would be done with something like > thread_join()/thread_detach(). How is it for fibrils?
The internal resources such as stack will be cleaned up by whatever fibril is scheduled next. See the 'clean_after_me' fibril member. fibril_join()/fibril_detach() has not been needed so far, so these will have to be implemented. Shouldn't be a big deal though. Jakub _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
