diff options
| author | Tetralux <tetralux@teknik.io> | 2020-04-21 15:22:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-21 15:22:42 +0100 |
| commit | d3f2f9480032f081cfafdb0223e6fb49a6834fd4 (patch) | |
| tree | 006ea9eafbabd35d8f3f56fe4f0fed0558cb4184 /core/thread | |
| parent | f141e2868d5d698618c9cd7cb3ac7e8c7bfc8e9f (diff) | |
Remove outdated comment
This is what I get for removing the ability to provide a stack at the last minute.... 🤣
Diffstat (limited to 'core/thread')
| -rw-r--r-- | core/thread/thread_unix.odin | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/thread/thread_unix.odin b/core/thread/thread_unix.odin index 53b8790d7..a11fe1c5d 100644 --- a/core/thread/thread_unix.odin +++ b/core/thread/thread_unix.odin @@ -40,15 +40,6 @@ Thread_Priority :: enum { // Creates a thread which will run the given procedure. // It then waits for `start` to be called. // -// You may provide a slice of bytes to use as the stack for the new thread, -// but if you do, you are expected to set up the guard pages yourself. -// -// The stack must also be aligned appropriately for the platform. -// We require it's at least 16 bytes aligned to help robustness; other -// platforms may require page-size alignment. -// Note also that pthreads requires the stack is at least 6 OS pages in size: -// 4 are required by pthreads, and two extra for guards pages that will be applied. -// create :: proc(procedure: Thread_Proc, priority := Thread_Priority.Normal) -> ^Thread { __linux_thread_entry_proc :: proc "c" (t: rawptr) -> rawptr { t := (^Thread)(t); |