search for: task_list

Displaying 8 results from an estimated 8 matches for "task_list".

2006 Jan 18
0
Namespace Issues
...ication (e.g. tasklist) 2 - setup a db (e.g. tasklist_dev) with a table (e.g. categories) 3 - from RAILS_ROOT $ ./script generate scaffold category 4 - run the application and point to http://localhost:3000/categories you should see the usual good stuff. 5 - $ ./script generate model task_list/category Now tha application is broken and you get: "uninitialized constant Category" error. It seems that the Task_List::Category shadows Category. Can anybody explain why? Is it already happened to anybody else? Mauro -- Posted via http://www.ruby-forum.com/.
2016 Apr 27
2
[PATCH] vhost_net: stop polling socket during rx processing
.../linux/wait.h +++ b/include/linux/wait.h @@ -191,11 +191,17 @@ __add_wait_queue_tail_exclusive(wait_queue_head_t *q, wait_queue_t *wait) } static inline void -__remove_wait_queue(wait_queue_head_t *head, wait_queue_t *old) +__remove_wait_queue_entry(wait_queue_t *old) { list_del(&old->task_list); } +static inline void +__remove_wait_queue(wait_queue_head_t *head, wait_queue_t *old) +{ + __remove_wait_queue_entry(old); +} + typedef int wait_bit_action_f(struct wait_bit_key *, int mode); void __wake_up(wait_queue_head_t *q, unsigned int mode, int nr, void *key); void __wake_up_locked_...
2016 Apr 27
2
[PATCH] vhost_net: stop polling socket during rx processing
.../linux/wait.h +++ b/include/linux/wait.h @@ -191,11 +191,17 @@ __add_wait_queue_tail_exclusive(wait_queue_head_t *q, wait_queue_t *wait) } static inline void -__remove_wait_queue(wait_queue_head_t *head, wait_queue_t *old) +__remove_wait_queue_entry(wait_queue_t *old) { list_del(&old->task_list); } +static inline void +__remove_wait_queue(wait_queue_head_t *head, wait_queue_t *old) +{ + __remove_wait_queue_entry(old); +} + typedef int wait_bit_action_f(struct wait_bit_key *, int mode); void __wake_up(wait_queue_head_t *q, unsigned int mode, int nr, void *key); void __wake_up_locked_...
2006 Jan 25
24
RailsCron 0.2 plugin
I received feedback from some of you, saying that it would be cool if RailsCron was even easier to manage. So I implemented a graceful start/restart inside of the plugin''s init.rb. If you don''t like it, comment it out and send me the feedback. Also, I finished an update to RailsCron that allows you to attach asynchronous processing methods to your ActiveRecord models. i.e.:
2010 May 26
1
Error compiling DAHDI...
...rom /usr/src/dahdi/drivers/dahdi/dahdi-base.c:40: include/linux/wait.h: At top level: include/linux/wait.h:51: error: expected specifier-qualifier-list before ?spinlock_t? include/linux/wait.h: In function ?waitqueue_active?: include/linux/wait.h:108: error: ?wait_queue_head_t? has no member named ?task_list? include/linux/wait.h: In function ?__add_wait_queue?: include/linux/wait.h:126: error: ?wait_queue_head_t? has no member named ?task_list? include/linux/wait.h: In function ?__add_wait_queue_tail?: include/linux/wait.h:135: error: ?wait_queue_head_t? has no member named ?task_list? In file include...
2016 Apr 28
0
[PATCH] vhost_net: stop polling socket during rx processing
...> @@ -191,11 +191,17 @@ __add_wait_queue_tail_exclusive(wait_queue_head_t *q, wait_queue_t *wait) > } > > static inline void > -__remove_wait_queue(wait_queue_head_t *head, wait_queue_t *old) > +__remove_wait_queue_entry(wait_queue_t *old) > { > list_del(&old->task_list); > } > > +static inline void > +__remove_wait_queue(wait_queue_head_t *head, wait_queue_t *old) > +{ > + __remove_wait_queue_entry(old); > +} > + > typedef int wait_bit_action_f(struct wait_bit_key *, int mode); > void __wake_up(wait_queue_head_t *q, unsigned int...
2010 Jun 17
1
kjournald blocked in D state
...0x1021f4e5510 d_inode = 0x100c95c17c0, crash> struct inode.i_sem 0x100c95c17c0 i_sem = { count = { counter = -916711312 <-------------------- This looks wrong }, sleepers = 256, wait = { lock = { lock = 497690456, magic = 258 }, task_list = { next = 0x100000000000, <--------------- This also looks wrong prev = 0x30f75c3 } } }, At this point I'm not sure how to continue or even if I went down the right path. From this info can anyone tell what's wrong? Or did I not go down the patch to reach...
2007 Jan 02
0
[PATCH 1/4] add scsi-target and IO_CMD_EPOLL_WAIT patches
...e_lock_irq(&ep->lock); ++ ++ if (iocb->private) ++ del_timer((struct timer_list *)iocb->private); ++ /* ++ * We need to know whether the event was removed from the wait ++ * queue in order to return the proper status to the cancellation ++ * code. ++ */ ++ list = &ep->wq.task_list; ++ ++ do { ++ struct list_head *next; ++ if (list == &iocb->ki_wait.task_list) ++ seen++; ++ next = list->next; ++ if (next->prev != list) { ++ seen += 2; ++ break; ++ } ++ list = next; ++ } while (list != &ep->wq.task_list); ++ ++ if (seen == 1) { ++ __remove_wait...