LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2010, 03:52 AM   #1
ravspratapsingh
Member
 
Registered: May 2010
Posts: 30

Rep: Reputation: 15
Declare_wait_queue_head


Hi,

In my driver, I am using DECLARE_WAIT_QUEUE_HEAD to create a wait queue and static DECLARE_WORK(io_work, io_read); to declare work queue.
Now, If ERESTARTSYS error occurs while waiting for a condition to get fulfilled, the wait gets over and returns with an error. At that point i am clearing all the variable. I want to reset the work queue also. Is there any function to do that else, how can I do that.
 
Old 05-18-2010, 06:23 AM   #2
ravspratapsingh
Member
 
Registered: May 2010
Posts: 30

Original Poster
Rep: Reputation: 15
Red face

Quote:
Originally Posted by ravspratapsingh View Post
Hi,

In my driver, I am using DECLARE_WAIT_QUEUE_HEAD to create a wait queue and static DECLARE_WORK(io_work, io_read); to declare work queue.
Now, If ERESTARTSYS error occurs while waiting for a condition to get fulfilled, the wait gets over and returns with an error. At that point i am clearing all the variable. I want to reset the work queue also. Is there any function to do that else, how can I do that.

No one is replying !!!
 
  


Reply



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 Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration