Re: Workqueues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arun,

> Have a look here,
> http://lwn.net/Articles/211279/

Thanks a lot for the link.  However, I am still confused how one would
go about doing something like this using workqueues:

  performance critical path:  (this is like a producer)
     queue(work on a *particular data* D)

  worker thread:  (this is like a consumer of queued work)
     while(1) {
       wait for work+data D on queue
       perform work on data D
       remove data D from queue
     }

It is unclear how to do the above using workqueues.  Are there some
examples for this new API?

Thanks,
-- 
Vimal

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux