Wednesday, September 30, 2009

comp.programming.threads - 2 new messages in 2 topics - digest

comp.programming.threads
http://groups.google.com/group/comp.programming.threads?hl=en

comp.programming.threads@googlegroups.com

Today's topics:

* reddit threads community - 1 messages, 1 author
http://groups.google.com/group/comp.programming.threads/t/324103c003ea3006?hl=en
* How to implement thread specific timer in a multi-threaded program - 1
messages, 1 author
http://groups.google.com/group/comp.programming.threads/t/322963722476d567?hl=en

==============================================================================
TOPIC: reddit threads community
http://groups.google.com/group/comp.programming.threads/t/324103c003ea3006?hl=en
==============================================================================

== 1 of 1 ==
Date: Mon, Sep 28 2009 1:18 pm
From: Christof Meerwald


Just FYI - I have started a threads community on reddit (see
http://www.reddit.com/r/threads/) some time ago. Feel free to have a look
around, join and/or submit relevant links.


Christof

--
http://cmeerw.org sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org

==============================================================================
TOPIC: How to implement thread specific timer in a multi-threaded program
http://groups.google.com/group/comp.programming.threads/t/322963722476d567?hl=en
==============================================================================

== 1 of 1 ==
Date: Tues, Sep 29 2009 6:00 am
From: Mukul Srivastava


On Sep 28, 3:03 pm, p...@informatimago.com (Pascal J. Bourguignon)
wrote:
> David Schwartz <dav...@webmaster.com> writes:
> > On Sep 27, 6:09 am, Deepak <dpkshe...@gmail.com> wrote:
> >> Hi,
> >> Can someone provide some pointers on how to implement thread
> >> specific timer in a multi-threaded program.
> >> This is on Linux using pthreads. Any pointers would be appreciated.
>
> > My advice to you would be not to do that. Associate the timer with
> > what the thread is doing, not with the thread.
>
> Yes, instead of having thread-specific timers, have any number of
> generic timers.
>
> cf. the POSIX.1-2001 functions setitimer(2) and getitimer(2),
> or the POSIX.1-2008 functions timer_settime(2) and timer_gettime(2.
>
> --
> __Pascal Bourguignon__

You can store these values in thread specific variable and use it .


==============================================================================

You received this message because you are subscribed to the Google Groups "comp.programming.threads"
group.

To post to this group, visit http://groups.google.com/group/comp.programming.threads?hl=en

To unsubscribe from this group, send email to comp.programming.threads+unsubscribe@googlegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/comp.programming.threads/subscribe?hl=en

To report abuse, send email explaining the problem to abuse@googlegroups.com

==============================================================================
Google Groups: http://groups.google.com/?hl=en

No comments: