e2413e229d
C/C++/objc are supported. Others are welcome to add the rest, and there're probably other things to be fixed/done as well that I didn't notice. Only tested by me on NetBSD/i386 4.99.19, where it works well.
6 lines
116 B
C
6 lines
116 B
C
/* Binding to _lwp_self for the Ada RTS */
|
|
#include <lwp.h>
|
|
|
|
lwpid_t ada_lwp_self(void) {
|
|
return _lwp_self();
|
|
}
|