Hi all!
1)Is there a way to write a program that will work on both solaris and intel based machines.
2)How can I achive this for a program that creates and synchronizes three threads.
Thank you.
vij.
Depending, you could use Java, which is in basic platform in-depended. You can do it in C and compile a version for Sparc and for Intel...... etc etc
Regards, Johan Louwers.
Alas you are comparing apples with oranges.
Solaris == operating system
Intel == hardware
Simple solution is to run Solaris on x86.
But do you really mean Wintel? If so are you wanting a thread library that works on both Solaris/posix/unix and Windows?
I suggest you look for a pthreads library that wraps the win32 threading API, otherwise welcome to the world of #ifdef/#else/#endif
Thanks for ur reply..I will try to get the pthread lib to be loaded on the win-intel systems.