Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Jan : The Win32 API seems to have expanded since last time I looked.
| Subject: | The Win32 API seems to have expanded since last time I looked. |
| Posted by: | "Martin Harvey" (mart..@pergolesi1.demon.co.uk) |
| Date: | 22 Jan 2008 12:32:39 |
Hey folks,
Just been having a quick scroll through various bits of the Win32 API,
since I haven't used it in a while. I started (unsurprisingly) with the
various synchronization functions.
There are so many new goodies!
- Timer Queues
- Slim reader/writer locks
- Lots more interlocked ops
- Condition variables.
Marvelous! I was going to port a bit of kernel code (waitable state
machines), and was a bit annoyed, because I had to do an atomic signal
and wait to release my dispatcher lock, and hence had to make it a
mutex instead of a critical section. However, I do a bit of browsing,
and discover that I can use SleepConditionVariableCS instead. Awesome!
MH
--