Monday, April 11, 2011

And A Link from LifeHacker .. Installing a Hackintosh

http://lifehacker.com/#!5672051/how-to-build-a-hackintosh-mac-and-install-os-x-in-eight-easy-steps
http://tonymacx86.blogspot.com/2010/04/iboot-multibeast-install-mac-os-x-on.html

Hope to come back one day to try this out..

---------

Friday, April 8, 2011

a bit on thread id


how to get a thread's ID in c/c++ gnu, gettid() is not implemented

pid_t gettid(void);

can be replaced by the following system call :

#include < syscall.h >
pid_t tid = (pid_t) syscall (SYS_gettid);

Thread ids obtained from pthread_self() are in a different format..
...