Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What are the problems using signal for implementing timer?

3 views
Skip to first unread message

Darshan Ghumare

unread,
Jun 25, 2009, 8:30:28 AM6/25/09
to
I need to create session for each user. After every keystroke is
receive I need to update session so that it will not get expire. If
user has not interacted say 10 second then session should be expire.
For this I can use setitimer(). But this uses signal & I heard that
many has shown disregards for using signal in this scenario. What are
the problems using signal for implementing timer? Any other method is
there?
0 new messages