util/workqueue.c File Reference

Workqueue implementation. More...

#include <interrupt.h>
#include <types.h>
#include <workqueue.h>

Go to the source code of this file.

Functions

bool workqueue_add_task (struct workqueue *queue, struct workqueue_task *task)
 Add task to work queue.
Nested Workqueues

Nested workqueues are workqueues specific to certain shared resources, for example a bus driver which can only handle one request at a time. Such drivers may create a workqueue for keeping track of tasks wanting to use the shared resource, and move them one by one into the main workqueue.

bool nested_workqueue_add_task (struct nested_workqueue *nwq, struct workqueue_task *task)
 Add task to nested work queue.
void nested_workqueue_next_task (struct nested_workqueue *nwq)
 Switch to the next task in a nested work queue.

Variables

struct workqueue main_workqueue
 The main work queue.

Detailed Description

Workqueue implementation.

Copyright (C) 2009 Atmel Corporation. All rights reserved.

Definition in file workqueue.c.

Generated on Thu Apr 29 15:18:22 2010 for display-training by  doxygen 1.6.3