Skip to content

Get rid of CreateMutex fallback entirely: Implement TryEnterCriticalSection for 9x/Me and NT<4 #64

Description

@seritools

For 9x/ME:

Implement it similar to https://fanael.github.io/stockfish-on-windows-98.html#dynamic-dispatch. Another impl is in KernelEx

For NT before 4:

Reverse what NT4+ do. https://www.geoffchappell.com/studies/windows/km/ntoskrnl/inc/api/pebteb/teb/index.htm shows that for NT3.1 CountOfOwnedCriticalSections didn't exist, or is potentially stored somewhere else. Figure out and implement the right fallback.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions