The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 09:23 PM
How many threads do I use ? the_learner UNIX for Advanced & Expert Users 5 07-17-2007 05:31 PM
threads Gerry405 UNIX for Dummies Questions & Answers 2 06-29-2005 03:30 AM
old threads norsk hedensk Post Here to Contact Site Administrators and Moderators 2 06-03-2003 05:16 PM
nfs threads i2admin UNIX for Advanced & Expert Users 1 03-06-2003 11:28 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-26-2007
vijlak vijlak is offline
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.
  #2 (permalink)  
Old 01-29-2007
suntac suntac is offline
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.
  #3 (permalink)  
Old 01-29-2007
porter porter is offline Forum Advisor  
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
  #4 (permalink)  
Old 01-29-2007
vijlak vijlak is offline
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:34 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0