summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
50a5882)
Signed-off-by: Djomanix <johan.kayser@viacesi.fr>
end
redef interface Object
end
redef interface Object
- # Calls 'pthread_exit on current thread
+ # Creates a new thread for Nit.
+ fun create_thread `{
+ pthread_create(&g_nit_thread, NULL, &WrapperNitMain, NULL);
+ `}
+
+ # Calls 'pthread_exit on current thread.
fun exit_thread(exit_value: Int) `{
pthread_exit((void*) exit_value);
`}
fun exit_thread(exit_value: Int) `{
pthread_exit((void*) exit_value);
`}