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
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?