Hi.
I'm trying to make a simple pure asm multi-threading app.
There is a syscall
But I can't find any example how to use that, especially how to create context?
Of course I can wrap it in C. But that's not the point.
Could someone point me where to look? Or give an example?
Best regards
w.
I'm trying to make a simple pure asm multi-threading app.
There is a syscall
Code:
430 AUE_THR_CREATE STD { int thr_create(ucontext_t *ctx, long *id, int flags); }
But I can't find any example how to use that, especially how to create context?
Of course I can wrap it in C. But that's not the point.
Could someone point me where to look? Or give an example?
Best regards
w.