# support kernel threads for windows · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/6376d96824c5205ecc02b2c621bcef5dc78f1a81)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 6376d96824c5205ecc02b2c621bcef5dc78f1a81

Requested commit: 6376d96824c5205ecc02b2c621bcef5dc78f1a81

Commit: 6376d96824c5205ecc02b2c621bcef5dc78f1a81

Tree: ff00e84ddd0b007e0110faf3f28f276df4458cf2

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
support kernel threads for windows

 * remove std.os.spawnThreadAllocator - windows does not support
   an explicit stack, so using an allocator for a thread stack
   space does not work.
 * std.os.spawnThread - instead of accepting a stack argument, the
   implementation will directly allocate using OS-specific APIs.

```

## Parents

- [bf8e419d2b7853f5cb5aba4dcba45ae28a3840aa](https://git.cafe/gitcafe/zig/commit/bf8e419d2b7853f5cb5aba4dcba45ae28a3840aa?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/6376d96824c5205ecc02b2c621bcef5dc78f1a81?format=markdown)
