Re: gthread vs pthread



In my particular application I needed to be able to bind a thread to a specific CPU. Last I checked, GThread didn't offer that sort of thing. I still went with GThread (because I need to work on both *nix and Windows) but I ended-up with some "going behind the back" code to have platform-specific stuff to get the platform-specific thread IDs so I could make CPU binding calls against them.

rick  jones



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]