src/tremashark/queue.h in trema-0.2.5 vs src/tremashark/queue.h in trema-0.2.6
- old
+ new
@@ -34,10 +34,10 @@
typedef struct queue {
queue_element *head;
queue_element *divider;
queue_element *tail;
- int length;
+ volatile int length;
} queue;
queue *create_queue( void );
bool delete_queue( queue *queue );