A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[trace] output the command line used to generate the trace file
[simgrid.git]
/
src
/
xbt
/
xbt_queue.c
diff --git
a/src/xbt/xbt_queue.c
b/src/xbt/xbt_queue.c
index
76a828c
..
05bf14d
100644
(file)
--- a/
src/xbt/xbt_queue.c
+++ b/
src/xbt/xbt_queue.c
@@
-80,7
+80,7
@@
void xbt_queue_push(xbt_queue_t queue, const void *src)
xbt_mutex_acquire(queue->mutex);
while (queue->capacity != 0
&& queue->capacity == xbt_dynar_length(queue->data)) {
xbt_mutex_acquire(queue->mutex);
while (queue->capacity != 0
&& queue->capacity == xbt_dynar_length(queue->data)) {
- XBT_DEBUG("Capacity of %p exceded (=%d). Waiting", queue,
+ XBT_DEBUG("Capacity of %p exce
e
ded (=%d). Waiting", queue,
queue->capacity);
xbt_cond_wait(queue->not_full, queue->mutex);
}
queue->capacity);
xbt_cond_wait(queue->not_full, queue->mutex);
}
@@
-120,7
+120,7
@@
void xbt_queue_unshift(xbt_queue_t queue, const void *src)
xbt_mutex_acquire(queue->mutex);
while (queue->capacity != 0
&& queue->capacity == xbt_dynar_length(queue->data)) {
xbt_mutex_acquire(queue->mutex);
while (queue->capacity != 0
&& queue->capacity == xbt_dynar_length(queue->data)) {
- XBT_DEBUG("Capacity of %p exceded (=%d). Waiting", queue,
+ XBT_DEBUG("Capacity of %p exce
e
ded (=%d). Waiting", queue,
queue->capacity);
xbt_cond_wait(queue->not_full, queue->mutex);
}
queue->capacity);
xbt_cond_wait(queue->not_full, queue->mutex);
}
@@
-168,7
+168,7
@@
void xbt_queue_push_timed(xbt_queue_t queue, const void *src, double delay)
xbt_mutex_release(queue->mutex);
THROWF(timeout_error, 0,
xbt_mutex_release(queue->mutex);
THROWF(timeout_error, 0,
- "Capacity of %p exceded (=%d), and delay = 0", queue,
+ "Capacity of %p exce
e
ded (=%d), and delay = 0", queue,
queue->capacity);
}
} else {
queue->capacity);
}
} else {
@@
-176,7
+176,7
@@
void xbt_queue_push_timed(xbt_queue_t queue, const void *src, double delay)
queue->capacity == xbt_dynar_length(queue->data) &&
(delay < 0 || (xbt_time() - begin) <= delay)) {
queue->capacity == xbt_dynar_length(queue->data) &&
(delay < 0 || (xbt_time() - begin) <= delay)) {
- XBT_DEBUG("Capacity of %p exceded (=%d). Waiting", queue,
+ XBT_DEBUG("Capacity of %p exce
e
ded (=%d). Waiting", queue,
queue->capacity);
TRY {
xbt_cond_timedwait(queue->not_full, queue->mutex,
queue->capacity);
TRY {
xbt_cond_timedwait(queue->not_full, queue->mutex,
@@
-248,7
+248,7
@@
void xbt_queue_unshift_timed(xbt_queue_t queue, const void *src,
xbt_mutex_release(queue->mutex);
THROWF(timeout_error, 0,
xbt_mutex_release(queue->mutex);
THROWF(timeout_error, 0,
- "Capacity of %p exceded (=%d), and delay = 0", queue,
+ "Capacity of %p exce
e
ded (=%d), and delay = 0", queue,
queue->capacity);
}
} else {
queue->capacity);
}
} else {
@@
-256,7
+256,7
@@
void xbt_queue_unshift_timed(xbt_queue_t queue, const void *src,
queue->capacity == xbt_dynar_length(queue->data) &&
(delay < 0 || (xbt_time() - begin) <= delay)) {
queue->capacity == xbt_dynar_length(queue->data) &&
(delay < 0 || (xbt_time() - begin) <= delay)) {
- XBT_DEBUG("Capacity of %p exceded (=%d). Waiting", queue,
+ XBT_DEBUG("Capacity of %p exce
e
ded (=%d). Waiting", queue,
queue->capacity);
TRY {
xbt_cond_timedwait(queue->not_full, queue->mutex,
queue->capacity);
TRY {
xbt_cond_timedwait(queue->not_full, queue->mutex,