Re: rescheduling tasks using swi_add()

2006-01-12 Thread kamal kc
--- kamal kc [EMAIL PROTECTED] wrote: Queue a task to a taskqueue. Behind the scenes that will invoke a swi_add if you use the taskqueue_swi queue. However, given that you want to do some rather complicated work, you'd be better off creating a dedicated taskqueue thread

Re: rescheduling tasks using swi_add()

2006-01-12 Thread John Baldwin
On Thursday 12 January 2006 06:19 am, kamal kc wrote: --- kamal kc [EMAIL PROTECTED] wrote: Queue a task to a taskqueue. Behind the scenes that will invoke a swi_add if you use the taskqueue_swi queue. However, given that you want to do some rather complicated work, you'd

Re: rescheduling tasks using swi_add()

2006-01-12 Thread kamal kc
--- John Baldwin [EMAIL PROTECTED] wrote: On Thursday 12 January 2006 06:19 am, kamal kc wrote: --- kamal kc [EMAIL PROTECTED] wrote: Queue a task to a taskqueue. Behind the scenes that will invoke a swi_add if you use the taskqueue_swi queue. However, given

rescheduling tasks using swi_add()

2006-01-11 Thread kamal kc
dear everybody, i had previous thread going on about the cpu load average. and had some discussion regarding it. i have a newer thing to discuss on so i started this thread. as i mentioned earlier i had put some code in the bridge.c that performed compression which took a long time and hence

Re: rescheduling tasks using swi_add()

2006-01-11 Thread rookie
2006/1/11, kamal kc [EMAIL PROTECTED]: dear everybody, i had previous thread going on about the cpu load average. and had some discussion regarding it. i have a newer thing to discuss on so i started this thread. as i mentioned earlier i had put some code in the bridge.c that performed

Re: rescheduling tasks using swi_add()

2006-01-11 Thread John Baldwin
On Wednesday 11 January 2006 07:13 am, kamal kc wrote: dear everybody, i had previous thread going on about the cpu load average. and had some discussion regarding it. i have a newer thing to discuss on so i started this thread. as i mentioned earlier i had put some code in the bridge.c

Re: rescheduling tasks using swi_add()

2006-01-11 Thread kamal kc
--- John Baldwin [EMAIL PROTECTED] wrote: the man page discussed the swi_add() and swi_sched() functions. what i don't understand is, how do i register my handler function ?? if i use the swi_add() for that purpose what do i use for the void *arg argument. and how can i

Re: rescheduling tasks using swi_add()

2006-01-11 Thread kamal kc
--- John Baldwin [EMAIL PROTECTED] wrote: the man page discussed the swi_add() and swi_sched() functions. what i don't understand is, how do i register my handler function ?? if i use the swi_add() for that purpose what do i use for the void *arg argument. and how can i