Windows euivalent function in Lunix

hi,
There are 3 windows function GetCurrentProcess ,GetProcessAffinityMask, SetProcessAffinityMask.
Can any one help me to know the equivalent  function in LINUX.

Thanks
amit_shrivAsked:
Who is Participating?
 
2266180Connect With a Mentor Commented:
http://www.die.net/doc/linux/man/man2/getpid.2.html would get you the current processes pid
http://www.penguin-soft.com/penguin/man/2/sched_setaffinity.html for the afinity stuff

I only code in C under linux, so I don't know how you would use the above information under kylix (never worked with it) but I hope you manage :)
0
 
amit_shrivAuthor Commented:
Thanks ciuly. It did help. I changed afinity stuff as per my need.
0
All Courses

From novice to tech pro — start learning today.