Linux and I/O completion ports?

If you’re looking for something exactly like IOCP, you won’t find it, because it doesn’t exist. Windows uses a notify on completion model (hence I/O Completion Ports). You start some operation asynchronously, and receive a notification when that operation has completed. Linux applications (and most other Unix-alikes) generally use a notify on ready model. You … Read more

I/O completion port’s advantages and disadvantages

I/O completion ports are awesome. There’s no better word to describe them. If anything in Windows was done right, it’s completion ports. You can create some number of threads (does not really matter how many) and make them all block on one completion port until an event (either one you post manually, or an event … Read more

Simple description of worker and I/O threads in .NET

The term ‘worker thread’ in .net/CLR typically just refers to any thread other than the Main thread that does some ‘work’ on behalf of the application that spawned the thread. ‘Work’ could really mean anything, including waiting for some I/O to complete. The ThreadPool keeps a cache of worker threads because threads are expensive to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)