Category "winapi"

Can a thread call SuspendThread passing its own thread ID?

Can a Windows thread suspend itself with SuspendThread()? I can awake it from another one but, can it call SuspendThread(GetCurrentThreadId())?

Performance of Win32 memory mapped files vs. CRT fopen/fread

I need to read (scan) a file sequentially and process its content. File size can be anything from very small (some KB) to very large (some GB). I tried two tec

Delphi notification when a file gets updated

My app contains documents in its database. The users can open the documents in which case, the document gets saved to a temporary folder and gets opened on the