Hi, I'm porting NativeAOT-LLVM (dotnet experimental ) to wasi, and have a question on pthread attributes. I'm no expert, but my understanding is that the "normal" methods for getting the current/main thread's attributes would be to call pthread_attr_get_np
or pthread_getattr_np
but the _np
suffix denotes non-posix and are not available. If I had created the thread myself I would know the attributes that I passed to pthread_create
but for the main thread how can I get pthread_attr_getstack
?
Last updated: Dec 23 2024 at 12:05 UTC