Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: Thread Programming.
- To: tlug@example.com
- Subject: tlug: Thread Programming.
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Thu, 9 Mar 2000 13:33:41 +0900 (JST)
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <38C714C4.2DC65C4B@example.com>
- References: <38C714C4.2DC65C4B@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
>>>>> "Sanjay" == Sanjay Agnani <s.agnani@example.com> writes: Sanjay> I apologize in advance if this is off-topic. Any help is Sanjay> highly appreciated and thank you very much for your time. Sanjay> I am trying to develop a server application. I want to Sanjay> develop it using multithreads (preferred) or Sanjay> multiprocesses. I am new to the concept of multithreading. Threading is rather OS-specific, despite standards like POSIX. So if you're developing on Linux this is not an unreasonable question if you want to use kernel threads. There are a number of thread libraries which run in a single kernel process and do their own scheduling (a kernel thread is scheduled by the kernel) as well. The coda-fs uses an implementation called LWP, the docs are available at www.coda.cs.cmu.edu. There are probably a number of packages for Linux, look in your package list. AFAIK most thread implementations allow you to solve all the problems you mentioned. The only real problem is "trouble" recovery; I presume you need to catch all of the signals that can kill the process and handle them. And I seem to recall that some thread implementations, including Linux, have the problem that you can't signal an individual thread; signals go to all threads. So you'd have to hack around that. I can't help with the details, though. -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091 _________________ _________________ _________________ _________________ What are those straight lines for? "XEmacs rules." -------------------------------------------------------------------- Next Technical Meeting: March 11 (Sat) 13:00 Temple University Japan * Topic: "What's new in Perl 5.6" Guest speaker: Simon Cozens (TLUG Perl guru) Next Nomikai Meeting: April 20 (Thu) Linux Conference 2000 Spring Ed. -------------------------------------------------------------------- more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- References:
- tlug: Thread Programming. I apologize in advance if this is off-topic !!!
- From: Sanjay Agnani <s.agnani@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: su vs. su -l
- Next by Date: Re: tlug: Thread Programming. I apologize in advance if this is off-topic !!!
- Prev by thread: tlug: Thread Programming. I apologize in advance if this is off-topic !!!
- Next by thread: Re: tlug: Thread Programming. I apologize in advance if this is off-topic !!!
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links