The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Threads and Threads Count ? varungupta UNIX for Advanced & Expert Users 2 03-21-2008 05:23 PM
How many threads do I use ? the_learner UNIX for Advanced & Expert Users 5 07-17-2007 02:31 PM
threads Gerry405 UNIX for Dummies Questions & Answers 2 06-29-2005 12:30 AM
old threads norsk hedensk Post Here to Contact Site Administrators and Moderators 2 06-03-2003 02:16 PM
nfs threads i2admin UNIX for Advanced & Expert Users 1 03-06-2003 07:28 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-26-2007
Registered User
 

Join Date: Nov 2006
Posts: 23
threads

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.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-29-2007
Registered User
 

Join Date: Jul 2005
Location: Amsterdam
Posts: 97
Quote:
Originally Posted by vijlak
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.
Reply With Quote
  #3 (permalink)  
Old 01-29-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
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
Reply With Quote
  #4 (permalink)  
Old 01-29-2007
Registered User
 

Join Date: Nov 2006
Posts: 23
Thanks for ur reply..I will try to get the pthread lib to be loaded on the win-intel systems.


Quote:
Originally Posted by porter
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
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:50 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0