sem.c

如果写成下面的形式:
int sys_sem_wait(sem_t *sem)
{
	queue * p = sem->wait;
	que_node * q;
	cli();
	while(!sem->value)
	{
		quenode_new_node(&q,NULL);
		que_add_node(p,q);
		sleep_on((struct task_struct**)&q->data);
	}
	sem->value--;
	sti();
	return 0;
}

则第一个唤醒的进程,会一直抢断这个value,每次别的进程醒来,都会发现这个value被抢占着,于是又睡眠了。具体分析如下:设9进程为produce进程,10~~19为consume进程。起初,强在9生产之前的进程,睡在了full上,9生产之后运行的进程,一部分睡在了mutex上,一部分睡在了full上,9生产一个,就将挂在full上的进程挂到mutex上,而挂在mutex上的进程在mutex被9 post后,唤醒了队头的进程,但是9又强在这个进程运行前把mutex又降为0,9继续生产,那个被唤醒的看到value还是0,就继续睡眠,直到9不能在生产.然后9挂在了empty上。而挂在mutex上的进程,都从头挪到尾了一遍,就在最后一个进程要被挪的时候,9挂了,所以它正好运行。于是乎,这个进程也重复9的行为,唤醒mutex上的你,又让你睡在mutex,直到我睡在full上。于是就出现了这个奇异的现象:9连续生产10个,一个最靠后的进程连续消费10个,9又连续生产10个,倒数第二靠后的消费10个。。。这就是一直困扰我的问题的答案。。。。终于想明白了。

以上都是自己的YY,直到再以同样方法解释下面的现象解释不下去的时候,我终于下定决心,把中间过程的输出写到文件里,不再 被bochs乱七八糟的输出干扰。于是发现自己想错了。由于缓冲区设的10,太小了,不论是忘这里面写10个数据还是读十个数据,都消耗不完一个时间片,也就是说,根本没有切换就能一个劲的读写完,之后才慢慢切换挂起的。这是对felicitia在这一块处理的方式和我的比较后,得出的,后来看到蓝蓝和乔帮主在这一块的处理都和我不一样。·

int sys_sem_wait(sem_t *sem)
{
	queue * p = sem->wait;
	que_node * q;
	cli();
	sem->value--;
	if(sem->value<0)
	{
		quenode_new_node(&q,NULL);
		que_add_node(p,q);
		sleep_on((struct task_struct**)&q->data);
	}
	sti();
	return 0;
}


这是个抢占式的做法,不管我有没有得到,都将value降低,我这次睡了,你别的进程在我醒来之前不能强在我先连续消费2次(不能跨过我)。仔细分析下,9生产之前运行的进程睡在了full上,9生产之后的一部分睡在了full上,一部分则直接睡在了mutex上,9生产第一个,mutex先增,但是没有用,都挂在full上,之后full增,某个进程被唤醒了,然而9强在这个进程运行前把mutex又减了,这个进程又睡到了mutex上,9继续生产,post mutex,那位进程被唤醒,再继续推理就跟事实不符了,某个进程被唤醒后,就一直就绪,直到9把时间片用完或者full为空,往往是full都变成空了,时间片还没用完,这时9才挂起。为了验证这个想法,就要使得时间片用完也没能写完或者读完,(写和读的速度差不了多少,写只有一个主进程写,而读有一堆子进程读,所以一般只能达到写不完而时间片用完,读一般是能读完)

Produce 0
Produce 1
Produce 2
Produce 3
Produce 4
Produce 5
Produce 6
Produce 7
Produce 8
Produce 9
Produce 10
Produce 11
19: 0
19: 1
19: 2
19: 3
19: 4
19: 5
19: 6
19: 7
19: 8
19: 9
19: 10
19: 11
Produce 12
Produce 13
Produce 14
Produce 15
Produce 16
Produce 17
Produce 18
Produce 19
Produce 20
Produce 21
Produce 22
Produce 23
Produce 24
Produce 25
Produce 26
Produce 27
Produce 28
Produce 29
Produce 30
Produce 31
Produce 32
Produce 33
Produce 34
Produce 35
Produce 36
Produce 37
Produce 38
18: 12
18: 13
18: 14
18: 15
18: 16
18: 17
18: 18
18: 19
18: 20
18: 21
18: 22
18: 23
18: 24
18: 25
18: 26
18: 27
18: 28
18: 29
18: 30
18: 31
18: 32
18: 33
18: 34
18: 35
18: 36
18: 37
Produce 39
Produce 40
Produce 41
Produce 42
Produce 43
Produce 44
Produce 45
Produce 46
Produce 47
Produce 48
Produce 49
Produce 50
Produce 51
Produce 52
Produce 53
Produce 54
Produce 55
Produce 56
Produce 57
Produce 58
Produce 59
Produce 60
Produce 61
Produce 62
Produce 63
Produce 64
16: 38
16: 39
16: 40
16: 41
16: 42
16: 43
16: 44
16: 45
16: 46
16: 47
16: 48
16: 49
16: 50
16: 51
16: 52
16: 53
16: 54
16: 55
16: 56
16: 57
16: 58
16: 59
16: 60
16: 61
16: 62
16: 63
16: 64
Produce 65
Produce 66
Produce 67
Produce 68
Produce 69
Produce 70
Produce 71
Produce 72
Produce 73
Produce 74
Produce 75
Produce 76
Produce 77
Produce 78
Produce 79
Produce 80
Produce 81
Produce 82
Produce 83
Produce 84
Produce 85
Produce 86
Produce 87
Produce 88
Produce 89
Produce 90
Produce 91
14: 65
14: 66
14: 67
14: 68
14: 69
14: 70
14: 71
14: 72
14: 73
14: 74
14: 75
14: 76
14: 77
14: 78
14: 79
14: 80
14: 81
14: 82
14: 83
14: 84
14: 85
14: 86
14: 87
14: 88
14: 89
14: 90
Produce 92
Produce 93
Produce 94
Produce 95
Produce 96
Produce 97
Produce 98
Produce 99
Produce 100
Produce 101
Produce 102
Produce 103
Produce 104
Produce 105
Produce 106
Produce 107
Produce 108
Produce 109
Produce 110
Produce 111
Produce 112
Produce 113
Produce 114
Produce 115
Produce 116
Produce 117
11: 91
11: 92
11: 93
11: 94
11: 95
11: 96
11: 97
11: 98
11: 99
11: 100
11: 101
11: 102
11: 103
11: 104
11: 105
11: 106
11: 107
11: 108
11: 109
11: 110
11: 111
11: 112
11: 113
11: 114
11: 115
11: 116
Produce 118
Produce 119
Produce 120
Produce 121
Produce 122
Produce 123
Produce 124
Produce 125
Produce 126
Produce 127
Produce 128
Produce 129
Produce 130
Produce 131
Produce 132
Produce 133
Produce 134
Produce 135
Produce 136
Produce 137
Produce 138
Produce 139
Produce 140
Produce 141
Produce 142
Produce 143
Produce 144
Produce 145
Produce 146
Produce 147
Produce 148
Produce 149
Produce 150
Produce 151
Produce 152
Produce 153
Produce 154
Produce 155
Produce 156
Produce 157
Produce 158
Produce 159
Produce 160
Produce 161
Produce 162
Produce 163
Produce 164
Produce 165
Produce 166
Produce 167
Produce 168
Produce 169
Produce 170
19: 117
19: 118
19: 119
19: 120
19: 121
19: 122
19: 123
19: 124
19: 125
19: 126
19: 127
19: 128
19: 129
19: 130
19: 131
19: 132
19: 133
19: 134
19: 135
19: 136
19: 137
19: 138
19: 139
19: 140
19: 141
19: 142
19: 143
19: 144
19: 145
19: 146
19: 147
19: 148
19: 149
19: 150
19: 151
19: 152
19: 153
19: 154
19: 155
19: 156
19: 157
19: 158
19: 159
19: 160
19: 161
17: 162
15: 163
13: 164
12: 165
10: 166
18: 167
16: 168
14: 169
11: 170
Produce 171
...

可以看到,在下面终于切换了
在看这些调试信息:

pid = 9 came in wait with sem empty value = 100...30868
pid = 9 wake out with sem empty value = 99...30868
pid = 9 came in wait with sem mutex value = 1...30868
pid = 9 wake out with sem mutex value = 0...30868
pid = 9 came in post with sem mutex value = 0...67108446
pid = 9 came in post with sem full value = 0...67108446
pid = 9 came in wait with sem empty value = 99...67108446
pid = 9 wake out with sem empty value = 98...67108446
pid = 9 came in wait with sem mutex value = 1...67108446
pid = 9 wake out with sem mutex value = 0...67108446
pid = 9 came in post with sem mutex value = 0...67108446
pid = 9 came in post with sem full value = 1...67108446
pid = 9 came in wait with sem empty value = 98...67108446
pid = 9 wake out with sem empty value = 97...67108446
pid = 9 came in wait with sem mutex value = 1...67108446
pid = 9 wake out with sem mutex value = 0...67108446
pid = 9 came in post with sem mutex value = 0...67108446
pid = 9 came in post with sem full value = 2...67108446
pid = 9 came in wait with sem empty value = 97...67108446
pid = 9 wake out with sem empty value = 96...67108446
pid = 9 came in wait with sem mutex value = 1...67108446
pid = 9 wake out with sem mutex value = 0...67108446
pid = 9 came in post with sem mutex value = 0...67108446
pid = 9 came in post with sem full value = 3...67108446
pid = 9 came in wait with sem empty value = 96...67108446
pid = 9 wake out with sem empty value = 95...67108446
pid = 9 came in wait with sem mutex value = 1...67108446
pid = 9 wake out with sem mutex value = 0...67108446
pid = 9 came in post with sem mutex value = 0...67108446
pid = 9 came in post with sem full value = 4...67108446
pid = 9 came in wait with sem empty value = 95...67108446
pid = 9 wake out with sem empty value = 94...67108446
pid = 9 came in wait with sem mutex value = 1...67108446
pid = 9 wake out with sem mutex value = 0...67108446
pid = 9 came in post with sem mutex value = 0...67108446
pid = 9 came in post with sem full value = 5...67108446
pid = 9 came in wait with sem empty value = 94...67108446
pid = 9 wake out with sem empty value = 93...67108446
pid = 9 came in wait with sem mutex value = 1...67108446
pid = 9 wake out with sem mutex value = 0...67108446
pid = 9 came in post with sem mutex value = 0...67108446
pid = 9 came in post with sem full value = 6...67108446
pid = 9 came in wait with sem empty value = 93...67108446
pid = 9 wake out with sem empty value = 92...67108446
pid = 9 came in wait with sem mutex value = 1...67108446
pid = 9 wake out with sem mutex value = 0...67108446
pid = 9 came in post with sem mutex value = 0...67108446
pid = 9 came in post with sem full value = 7...67108446
pid = 9 came in wait with sem empty value = 92...67108446
pid = 9 wake out with sem empty value = 91...67108446
pid = 9 came in wait with sem mutex value = 1...67108446
pid = 9 wake out with sem mutex value = 0...67108446
pid = 9 came in post with sem mutex value = 0...67108446
pid = 9 came in post with sem full value = 8...67108446
pid = 9 came in wait with sem empty value = 91...67108446
pid = 9 wake out with sem empty value = 90...67108446
pid = 9 came in wait with sem mutex value = 1...67108446
pid = 9 wake out with sem mutex value = 0...67108446
pid = 9 came in post with sem mutex value = 0...23
pid = 9 came in post with sem full value = 9...23
pid = 9 came in wait with sem empty value = 90...23
pid = 9 wake out with sem empty value = 89...23
pid = 9 came in wait with sem mutex value = 1...23
pid = 9 wake out with sem mutex value = 0...23
pid = 9 came in post with sem mutex value = 0...23
pid = 9 came in post with sem full value = 10...23
pid = 9 came in wait with sem empty value = 89...23
pid = 9 wake out with sem empty value = 88...23
pid = 9 came in wait with sem mutex value = 1...23
pid = 9 wake out with sem mutex value = 0...23
pid = 9 came in post with sem mutex value = 0...23
pid = 9 came in post with sem full value = 11...23
pid = 19 came in wait with sem full value = 12...0
pid = 19 wake out with sem full value = 11...0
pid = 19 came in wait with sem mutex value = 1...0
pid = 19 wake out with sem mutex value = 0...0
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 88...67108421
pid = 19 came in wait with sem full value = 11...67108421
pid = 19 wake out with sem full value = 10...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 89...67108421
pid = 19 came in wait with sem full value = 10...67108421
pid = 19 wake out with sem full value = 9...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 90...67108421
pid = 19 came in wait with sem full value = 9...67108421
pid = 19 wake out with sem full value = 8...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 91...67108421
pid = 19 came in wait with sem full value = 8...67108421
pid = 19 wake out with sem full value = 7...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 92...67108421
pid = 19 came in wait with sem full value = 7...67108421
pid = 19 wake out with sem full value = 6...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 93...67108421
pid = 19 came in wait with sem full value = 6...67108421
pid = 19 wake out with sem full value = 5...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 94...67108421
pid = 19 came in wait with sem full value = 5...67108421
pid = 19 wake out with sem full value = 4...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 95...67108421
pid = 19 came in wait with sem full value = 4...67108421
pid = 19 wake out with sem full value = 3...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 96...67108421
pid = 19 came in wait with sem full value = 3...67108421
pid = 19 wake out with sem full value = 2...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 97...67108421
pid = 19 came in wait with sem full value = 2...67108421
pid = 19 wake out with sem full value = 1...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 98...67108421
pid = 19 came in wait with sem full value = 1...67108421
pid = 19 wake out with sem full value = 0...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 99...67108421
pid = 19 came in wait with sem full value = 0...67108421
pid = 19 goto sleep with sem full value = 0...67108421
pid = 18 came in wait with sem full value = 0...0
pid = 18 goto sleep with sem full value = 0...0
pid = 17 came in wait with sem full value = 0...0
pid = 17 goto sleep with sem full value = 0...0
pid = 16 came in wait with sem full value = 0...0
pid = 16 goto sleep with sem full value = 0...0
pid = 15 came in wait with sem full value = 0...0
pid = 15 goto sleep with sem full value = 0...0
pid = 14 came in wait with sem full value = 0...0
pid = 14 goto sleep with sem full value = 0...0
pid = 13 came in wait with sem full value = 0...0
pid = 13 goto sleep with sem full value = 0...0
pid = 12 came in wait with sem full value = 0...0
pid = 12 goto sleep with sem full value = 0...0
pid = 11 came in wait with sem full value = 0...0
pid = 11 goto sleep with sem full value = 0...0
pid = 10 came in wait with sem full value = 0...0
pid = 10 goto sleep with sem full value = 0...0
pid = 9 came in wait with sem empty value = 100...23
pid = 9 wake out with sem empty value = 99...23
pid = 9 came in wait with sem mutex value = 1...23
pid = 9 wake out with sem mutex value = 0...23
pid = 9 came in post with sem mutex value = 0...23
pid = 9 came in post with sem full value = 0...23
pid = 9 wake up pid = 19 in post with sem full value = 1...256
pid = 9 came in wait with sem empty value = 99...1
pid = 9 wake out with sem empty value = 98...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 1...1
pid = 9 wake up pid = 18 in post with sem full value = 2...256
pid = 9 came in wait with sem empty value = 98...2
pid = 9 wake out with sem empty value = 97...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 2...2
pid = 9 wake up pid = 17 in post with sem full value = 3...256
pid = 9 came in wait with sem empty value = 97...3
pid = 9 wake out with sem empty value = 96...3
pid = 9 came in wait with sem mutex value = 1...3
pid = 9 wake out with sem mutex value = 0...3
pid = 9 came in post with sem mutex value = 0...3
pid = 9 came in post with sem full value = 3...3
pid = 9 wake up pid = 16 in post with sem full value = 4...256
pid = 9 came in wait with sem empty value = 96...4
pid = 9 wake out with sem empty value = 95...4
pid = 9 came in wait with sem mutex value = 1...4
pid = 9 wake out with sem mutex value = 0...4
pid = 9 came in post with sem mutex value = 0...4
pid = 9 came in post with sem full value = 4...4
pid = 9 wake up pid = 15 in post with sem full value = 5...256
pid = 9 came in wait with sem empty value = 95...5
pid = 9 wake out with sem empty value = 94...5
pid = 9 came in wait with sem mutex value = 1...5
pid = 9 wake out with sem mutex value = 0...5
pid = 9 came in post with sem mutex value = 0...5
pid = 9 came in post with sem full value = 5...5
pid = 9 wake up pid = 14 in post with sem full value = 6...256
pid = 9 came in wait with sem empty value = 94...6
pid = 9 wake out with sem empty value = 93...6
pid = 9 came in wait with sem mutex value = 1...6
pid = 9 wake out with sem mutex value = 0...6
pid = 9 came in post with sem mutex value = 0...6
pid = 9 came in post with sem full value = 6...6
pid = 9 wake up pid = 13 in post with sem full value = 7...256
pid = 9 came in wait with sem empty value = 93...7
pid = 9 wake out with sem empty value = 92...7
pid = 9 came in wait with sem mutex value = 1...7
pid = 9 wake out with sem mutex value = 0...7
pid = 9 came in post with sem mutex value = 0...7
pid = 9 came in post with sem full value = 7...7
pid = 9 wake up pid = 12 in post with sem full value = 8...256
pid = 9 came in wait with sem empty value = 92...8
pid = 9 wake out with sem empty value = 91...8
pid = 9 came in wait with sem mutex value = 1...8
pid = 9 wake out with sem mutex value = 0...8
pid = 9 came in post with sem mutex value = 0...8
pid = 9 came in post with sem full value = 8...8
pid = 9 wake up pid = 11 in post with sem full value = 9...256
pid = 9 came in wait with sem empty value = 91...9
pid = 9 wake out with sem empty value = 90...9
pid = 9 came in wait with sem mutex value = 1...9
pid = 9 wake out with sem mutex value = 0...9
pid = 9 came in post with sem mutex value = 0...9
pid = 9 came in post with sem full value = 9...9
pid = 9 wake up pid = 10 in post with sem full value = 10...256
pid = 9 came in wait with sem empty value = 90...10
pid = 9 wake out with sem empty value = 89...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 10...10
pid = 9 came in wait with sem empty value = 89...10
pid = 9 wake out with sem empty value = 88...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 11...10
pid = 9 came in wait with sem empty value = 88...10
pid = 9 wake out with sem empty value = 87...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 12...10
pid = 9 came in wait with sem empty value = 87...10
pid = 9 wake out with sem empty value = 86...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 13...10
pid = 9 came in wait with sem empty value = 86...10
pid = 9 wake out with sem empty value = 85...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 14...10
pid = 9 came in wait with sem empty value = 85...10
pid = 9 wake out with sem empty value = 84...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 15...10
pid = 9 came in wait with sem empty value = 84...10
pid = 9 wake out with sem empty value = 83...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 16...10
pid = 9 came in wait with sem empty value = 83...10
pid = 9 wake out with sem empty value = 82...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 17...10
pid = 9 came in wait with sem empty value = 82...10
pid = 9 wake out with sem empty value = 81...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 18...10
pid = 9 came in wait with sem empty value = 81...10
pid = 9 wake out with sem empty value = 80...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 19...10
pid = 9 came in wait with sem empty value = 80...10
pid = 9 wake out with sem empty value = 79...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 20...10
pid = 9 came in wait with sem empty value = 79...10
pid = 9 wake out with sem empty value = 78...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 21...10
pid = 9 came in wait with sem empty value = 78...10
pid = 9 wake out with sem empty value = 77...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 22...10
pid = 9 came in wait with sem empty value = 77...10
pid = 9 wake out with sem empty value = 76...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 23...10
pid = 9 came in wait with sem empty value = 76...10
pid = 9 wake out with sem empty value = 75...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 24...10
pid = 9 came in wait with sem empty value = 75...10
pid = 9 wake out with sem empty value = 74...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 25...10
pid = 9 came in wait with sem empty value = 74...10
pid = 9 wake out with sem empty value = 73...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 18 wake up with sem full value = 26...0
pid = 18 wake out with sem full value = 25...0
pid = 18 came in wait with sem mutex value = 1...0
pid = 18 wake out with sem mutex value = 0...0
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 73...67108421
pid = 18 came in wait with sem full value = 25...67108421
pid = 18 wake out with sem full value = 24...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 74...67108421
pid = 18 came in wait with sem full value = 24...67108421
pid = 18 wake out with sem full value = 23...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 75...67108421
pid = 18 came in wait with sem full value = 23...67108421
pid = 18 wake out with sem full value = 22...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 76...67108421
pid = 18 came in wait with sem full value = 22...67108421
pid = 18 wake out with sem full value = 21...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 77...67108421
pid = 18 came in wait with sem full value = 21...67108421
pid = 18 wake out with sem full value = 20...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 78...67108421
pid = 18 came in wait with sem full value = 20...67108421
pid = 18 wake out with sem full value = 19...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 79...67108421
pid = 18 came in wait with sem full value = 19...67108421
pid = 18 wake out with sem full value = 18...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 80...67108421
pid = 18 came in wait with sem full value = 18...67108421
pid = 18 wake out with sem full value = 17...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 81...67108421
pid = 18 came in wait with sem full value = 17...67108421
pid = 18 wake out with sem full value = 16...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 82...67108421
pid = 18 came in wait with sem full value = 16...67108421
pid = 18 wake out with sem full value = 15...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 83...67108421
pid = 18 came in wait with sem full value = 15...67108421
pid = 18 wake out with sem full value = 14...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 84...67108421
pid = 18 came in wait with sem full value = 14...67108421
pid = 18 wake out with sem full value = 13...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 85...67108421
pid = 18 came in wait with sem full value = 13...67108421
pid = 18 wake out with sem full value = 12...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 86...67108421
pid = 18 came in wait with sem full value = 12...67108421
pid = 18 wake out with sem full value = 11...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 87...67108421
pid = 18 came in wait with sem full value = 11...67108421
pid = 18 wake out with sem full value = 10...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 88...67108421
pid = 18 came in wait with sem full value = 10...67108421
pid = 18 wake out with sem full value = 9...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 89...67108421
pid = 18 came in wait with sem full value = 9...67108421
pid = 18 wake out with sem full value = 8...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 90...67108421
pid = 18 came in wait with sem full value = 8...67108421
pid = 18 wake out with sem full value = 7...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 91...67108421
pid = 18 came in wait with sem full value = 7...67108421
pid = 18 wake out with sem full value = 6...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 92...67108421
pid = 18 came in wait with sem full value = 6...67108421
pid = 18 wake out with sem full value = 5...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 93...67108421
pid = 18 came in wait with sem full value = 5...67108421
pid = 18 wake out with sem full value = 4...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 94...67108421
pid = 18 came in wait with sem full value = 4...67108421
pid = 18 wake out with sem full value = 3...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 95...67108421
pid = 18 came in wait with sem full value = 3...67108421
pid = 18 wake out with sem full value = 2...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 96...67108421
pid = 18 came in wait with sem full value = 2...67108421
pid = 18 wake out with sem full value = 1...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 97...67108421
pid = 18 came in wait with sem full value = 1...67108421
pid = 18 wake out with sem full value = 0...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 98...67108421
pid = 18 came in wait with sem full value = 0...67108421
pid = 18 goto sleep with sem full value = 0...67108421
pid = 17 wake up with sem full value = 0...0
pid = 17 goto sleep with sem full value = 0...0
pid = 16 wake up with sem full value = 0...0
pid = 16 goto sleep with sem full value = 0...0
pid = 15 wake up with sem full value = 0...0
pid = 15 goto sleep with sem full value = 0...0
pid = 14 wake up with sem full value = 0...0
pid = 14 goto sleep with sem full value = 0...0
pid = 13 wake up with sem full value = 0...0
pid = 13 goto sleep with sem full value = 0...0
pid = 12 wake up with sem full value = 0...0
pid = 12 goto sleep with sem full value = 0...0
pid = 11 wake up with sem full value = 0...0
pid = 11 goto sleep with sem full value = 0...0
pid = 10 wake up with sem full value = 0...0
pid = 10 goto sleep with sem full value = 0...0
pid = 19 wake up with sem full value = 0...67108421
pid = 19 goto sleep with sem full value = 0...67108421
pid = 9 came in post with sem full value = 0...10
pid = 9 wake up pid = 18 in post with sem full value = 1...240
pid = 9 came in wait with sem empty value = 99...1
pid = 9 wake out with sem empty value = 98...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 1...1
pid = 9 wake up pid = 17 in post with sem full value = 2...240
pid = 9 came in wait with sem empty value = 98...2
pid = 9 wake out with sem empty value = 97...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 2...2
pid = 9 wake up pid = 16 in post with sem full value = 3...240
pid = 9 came in wait with sem empty value = 97...3
pid = 9 wake out with sem empty value = 96...3
pid = 9 came in wait with sem mutex value = 1...3
pid = 9 wake out with sem mutex value = 0...3
pid = 9 came in post with sem mutex value = 0...3
pid = 9 came in post with sem full value = 3...3
pid = 9 wake up pid = 15 in post with sem full value = 4...240
pid = 9 came in wait with sem empty value = 96...4
pid = 9 wake out with sem empty value = 95...4
pid = 9 came in wait with sem mutex value = 1...4
pid = 9 wake out with sem mutex value = 0...4
pid = 9 came in post with sem mutex value = 0...4
pid = 9 came in post with sem full value = 4...4
pid = 9 wake up pid = 14 in post with sem full value = 5...240
pid = 9 came in wait with sem empty value = 95...5
pid = 9 wake out with sem empty value = 94...5
pid = 9 came in wait with sem mutex value = 1...5
pid = 9 wake out with sem mutex value = 0...5
pid = 9 came in post with sem mutex value = 0...5
pid = 9 came in post with sem full value = 5...5
pid = 9 wake up pid = 13 in post with sem full value = 6...240
pid = 9 came in wait with sem empty value = 94...6
pid = 9 wake out with sem empty value = 93...6
pid = 9 came in wait with sem mutex value = 1...6
pid = 9 wake out with sem mutex value = 0...6
pid = 9 came in post with sem mutex value = 0...6
pid = 9 came in post with sem full value = 6...6
pid = 9 wake up pid = 12 in post with sem full value = 7...240
pid = 9 came in wait with sem empty value = 93...7
pid = 9 wake out with sem empty value = 92...7
pid = 9 came in wait with sem mutex value = 1...7
pid = 9 wake out with sem mutex value = 0...7
pid = 9 came in post with sem mutex value = 0...7
pid = 9 came in post with sem full value = 7...7
pid = 9 wake up pid = 11 in post with sem full value = 8...240
pid = 9 came in wait with sem empty value = 92...8
pid = 9 wake out with sem empty value = 91...8
pid = 9 came in wait with sem mutex value = 1...8
pid = 9 wake out with sem mutex value = 0...8
pid = 9 came in post with sem mutex value = 0...8
pid = 9 came in post with sem full value = 8...8
pid = 9 wake up pid = 10 in post with sem full value = 9...240
pid = 9 came in wait with sem empty value = 91...9
pid = 9 wake out with sem empty value = 90...9
pid = 9 came in wait with sem mutex value = 1...9
pid = 9 wake out with sem mutex value = 0...9
pid = 9 came in post with sem mutex value = 0...9
pid = 9 came in post with sem full value = 9...9
pid = 9 wake up pid = 19 in post with sem full value = 10...240
pid = 9 came in wait with sem empty value = 90...10
pid = 9 wake out with sem empty value = 89...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 10...10
pid = 9 came in wait with sem empty value = 89...10
pid = 9 wake out with sem empty value = 88...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 11...10
pid = 9 came in wait with sem empty value = 88...10
pid = 9 wake out with sem empty value = 87...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 12...10
pid = 9 came in wait with sem empty value = 87...10
pid = 9 wake out with sem empty value = 86...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 13...10
pid = 9 came in wait with sem empty value = 86...10
pid = 9 wake out with sem empty value = 85...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 14...10
pid = 9 came in wait with sem empty value = 85...10
pid = 9 wake out with sem empty value = 84...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 15...10
pid = 9 came in wait with sem empty value = 84...10
pid = 9 wake out with sem empty value = 83...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 16...10
pid = 9 came in wait with sem empty value = 83...10
pid = 9 wake out with sem empty value = 82...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 17...10
pid = 9 came in wait with sem empty value = 82...10
pid = 9 wake out with sem empty value = 81...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 18...10
pid = 9 came in wait with sem empty value = 81...10
pid = 9 wake out with sem empty value = 80...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 19...10
pid = 9 came in wait with sem empty value = 80...10
pid = 9 wake out with sem empty value = 79...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 20...10
pid = 9 came in wait with sem empty value = 79...10
pid = 9 wake out with sem empty value = 78...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 21...10
pid = 9 came in wait with sem empty value = 78...10
pid = 9 wake out with sem empty value = 77...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 22...10
pid = 9 came in wait with sem empty value = 77...10
pid = 9 wake out with sem empty value = 76...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 23...10
pid = 9 came in wait with sem empty value = 76...10
pid = 9 wake out with sem empty value = 75...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 24...10
pid = 9 came in wait with sem empty value = 75...10
pid = 9 wake out with sem empty value = 74...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 25...10
pid = 9 came in wait with sem empty value = 74...10
pid = 9 wake out with sem empty value = 73...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 26...10
pid = 9 came in wait with sem empty value = 73...10
pid = 9 wake out with sem empty value = 72...10
pid = 16 wake up with sem full value = 27...0
pid = 16 wake out with sem full value = 26...0
pid = 16 came in wait with sem mutex value = 1...0
pid = 16 wake out with sem mutex value = 0...0
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 72...67108421
pid = 16 came in wait with sem full value = 26...67108421
pid = 16 wake out with sem full value = 25...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 73...67108421
pid = 16 came in wait with sem full value = 25...67108421
pid = 16 wake out with sem full value = 24...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 74...67108421
pid = 16 came in wait with sem full value = 24...67108421
pid = 16 wake out with sem full value = 23...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 75...67108421
pid = 16 came in wait with sem full value = 23...67108421
pid = 16 wake out with sem full value = 22...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 76...67108421
pid = 16 came in wait with sem full value = 22...67108421
pid = 16 wake out with sem full value = 21...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 77...67108421
pid = 16 came in wait with sem full value = 21...67108421
pid = 16 wake out with sem full value = 20...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 78...67108421
pid = 16 came in wait with sem full value = 20...67108421
pid = 16 wake out with sem full value = 19...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 79...67108421
pid = 16 came in wait with sem full value = 19...67108421
pid = 16 wake out with sem full value = 18...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 80...67108421
pid = 16 came in wait with sem full value = 18...67108421
pid = 16 wake out with sem full value = 17...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 81...67108421
pid = 16 came in wait with sem full value = 17...67108421
pid = 16 wake out with sem full value = 16...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 82...67108421
pid = 16 came in wait with sem full value = 16...67108421
pid = 16 wake out with sem full value = 15...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 83...67108421
pid = 16 came in wait with sem full value = 15...67108421
pid = 16 wake out with sem full value = 14...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 84...67108421
pid = 16 came in wait with sem full value = 14...67108421
pid = 16 wake out with sem full value = 13...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 85...67108421
pid = 16 came in wait with sem full value = 13...67108421
pid = 16 wake out with sem full value = 12...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 86...67108421
pid = 16 came in wait with sem full value = 12...67108421
pid = 16 wake out with sem full value = 11...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 87...67108421
pid = 16 came in wait with sem full value = 11...67108421
pid = 16 wake out with sem full value = 10...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 88...67108421
pid = 16 came in wait with sem full value = 10...67108421
pid = 16 wake out with sem full value = 9...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 89...67108421
pid = 16 came in wait with sem full value = 9...67108421
pid = 16 wake out with sem full value = 8...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 90...67108421
pid = 16 came in wait with sem full value = 8...67108421
pid = 16 wake out with sem full value = 7...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 91...67108421
pid = 16 came in wait with sem full value = 7...67108421
pid = 16 wake out with sem full value = 6...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 92...67108421
pid = 16 came in wait with sem full value = 6...67108421
pid = 16 wake out with sem full value = 5...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 93...67108421
pid = 16 came in wait with sem full value = 5...67108421
pid = 16 wake out with sem full value = 4...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 94...67108421
pid = 16 came in wait with sem full value = 4...67108421
pid = 16 wake out with sem full value = 3...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 95...67108421
pid = 16 came in wait with sem full value = 3...67108421
pid = 16 wake out with sem full value = 2...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 96...67108421
pid = 16 came in wait with sem full value = 2...67108421
pid = 16 wake out with sem full value = 1...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 97...67108421
pid = 16 came in wait with sem full value = 1...67108421
pid = 16 wake out with sem full value = 0...67108421
pid = 16 came in wait with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 98...67108421
pid = 16 came in wait with sem full value = 0...67108421
pid = 16 goto sleep with sem full value = 0...67108421
pid = 15 wake up with sem full value = 0...0
pid = 15 goto sleep with sem full value = 0...0
pid = 14 wake up with sem full value = 0...0
pid = 14 goto sleep with sem full value = 0...0
pid = 13 wake up with sem full value = 0...0
pid = 13 goto sleep with sem full value = 0...0
pid = 11 wake up with sem full value = 0...0
pid = 11 goto sleep with sem full value = 0...0
pid = 10 wake up with sem full value = 0...0
pid = 10 goto sleep with sem full value = 0...0
pid = 17 wake up with sem full value = 0...0
pid = 17 goto sleep with sem full value = 0...0
pid = 12 wake up with sem full value = 0...0
pid = 12 goto sleep with sem full value = 0...0
pid = 19 wake up with sem full value = 0...67108421
pid = 19 goto sleep with sem full value = 0...67108421
pid = 18 wake up with sem full value = 0...67108421
pid = 18 goto sleep with sem full value = 0...67108421
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 0...10
pid = 9 wake up pid = 16 in post with sem full value = 1...208
pid = 9 came in wait with sem empty value = 99...1
pid = 9 wake out with sem empty value = 98...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 1...1
pid = 9 wake up pid = 15 in post with sem full value = 2...208
pid = 9 came in wait with sem empty value = 98...2
pid = 9 wake out with sem empty value = 97...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 2...2
pid = 9 wake up pid = 14 in post with sem full value = 3...208
pid = 9 came in wait with sem empty value = 97...3
pid = 9 wake out with sem empty value = 96...3
pid = 9 came in wait with sem mutex value = 1...3
pid = 9 wake out with sem mutex value = 0...3
pid = 9 came in post with sem mutex value = 0...3
pid = 9 came in post with sem full value = 3...3
pid = 9 wake up pid = 13 in post with sem full value = 4...208
pid = 9 came in wait with sem empty value = 96...4
pid = 9 wake out with sem empty value = 95...4
pid = 9 came in wait with sem mutex value = 1...4
pid = 9 wake out with sem mutex value = 0...4
pid = 9 came in post with sem mutex value = 0...4
pid = 9 came in post with sem full value = 4...4
pid = 9 wake up pid = 11 in post with sem full value = 5...208
pid = 9 came in wait with sem empty value = 95...5
pid = 9 wake out with sem empty value = 94...5
pid = 9 came in wait with sem mutex value = 1...5
pid = 9 wake out with sem mutex value = 0...5
pid = 9 came in post with sem mutex value = 0...5
pid = 9 came in post with sem full value = 5...5
pid = 9 wake up pid = 10 in post with sem full value = 6...208
pid = 9 came in wait with sem empty value = 94...6
pid = 9 wake out with sem empty value = 93...6
pid = 9 came in wait with sem mutex value = 1...6
pid = 9 wake out with sem mutex value = 0...6
pid = 9 came in post with sem mutex value = 0...6
pid = 9 came in post with sem full value = 6...6
pid = 9 wake up pid = 17 in post with sem full value = 7...208
pid = 9 came in wait with sem empty value = 93...7
pid = 9 wake out with sem empty value = 92...7
pid = 9 came in wait with sem mutex value = 1...7
pid = 9 wake out with sem mutex value = 0...7
pid = 9 came in post with sem mutex value = 0...7
pid = 9 came in post with sem full value = 7...7
pid = 9 wake up pid = 12 in post with sem full value = 8...208
pid = 9 came in wait with sem empty value = 92...8
pid = 9 wake out with sem empty value = 91...8
pid = 9 came in wait with sem mutex value = 1...8
pid = 9 wake out with sem mutex value = 0...8
pid = 9 came in post with sem mutex value = 0...8
pid = 9 came in post with sem full value = 8...8
pid = 9 wake up pid = 19 in post with sem full value = 9...208
pid = 9 came in wait with sem empty value = 91...9
pid = 9 wake out with sem empty value = 90...9
pid = 9 came in wait with sem mutex value = 1...9
pid = 9 wake out with sem mutex value = 0...9
pid = 9 came in post with sem mutex value = 0...9
pid = 9 came in post with sem full value = 9...9
pid = 9 wake up pid = 18 in post with sem full value = 10...208
pid = 9 came in wait with sem empty value = 90...10
pid = 9 wake out with sem empty value = 89...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 10...10
pid = 9 came in wait with sem empty value = 89...10
pid = 9 wake out with sem empty value = 88...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 11...10
pid = 9 came in wait with sem empty value = 88...10
pid = 9 wake out with sem empty value = 87...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 12...10
pid = 9 came in wait with sem empty value = 87...10
pid = 9 wake out with sem empty value = 86...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 13...10
pid = 9 came in wait with sem empty value = 86...10
pid = 9 wake out with sem empty value = 85...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 14...10
pid = 9 came in wait with sem empty value = 85...10
pid = 9 wake out with sem empty value = 84...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 15...10
pid = 9 came in wait with sem empty value = 84...10
pid = 9 wake out with sem empty value = 83...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 16...10
pid = 9 came in wait with sem empty value = 83...10
pid = 9 wake out with sem empty value = 82...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 17...10
pid = 9 came in wait with sem empty value = 82...10
pid = 9 wake out with sem empty value = 81...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 18...10
pid = 9 came in wait with sem empty value = 81...10
pid = 9 wake out with sem empty value = 80...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 19...10
pid = 9 came in wait with sem empty value = 80...10
pid = 9 wake out with sem empty value = 79...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 20...10
pid = 9 came in wait with sem empty value = 79...10
pid = 9 wake out with sem empty value = 78...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 21...10
pid = 9 came in wait with sem empty value = 78...10
pid = 9 wake out with sem empty value = 77...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 22...10
pid = 9 came in wait with sem empty value = 77...10
pid = 9 wake out with sem empty value = 76...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 23...10
pid = 9 came in wait with sem empty value = 76...10
pid = 9 wake out with sem empty value = 75...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 24...10
pid = 9 came in wait with sem empty value = 75...10
pid = 9 wake out with sem empty value = 74...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 25...10
pid = 9 came in wait with sem empty value = 74...10
pid = 9 wake out with sem empty value = 73...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 14 wake up with sem full value = 26...0
pid = 14 wake out with sem full value = 25...0
pid = 14 came in wait with sem mutex value = 1...0
pid = 14 wake out with sem mutex value = 0...0
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 73...67108421
pid = 14 came in wait with sem full value = 25...67108421
pid = 14 wake out with sem full value = 24...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 74...67108421
pid = 14 came in wait with sem full value = 24...67108421
pid = 14 wake out with sem full value = 23...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 75...67108421
pid = 14 came in wait with sem full value = 23...67108421
pid = 14 wake out with sem full value = 22...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 76...67108421
pid = 14 came in wait with sem full value = 22...67108421
pid = 14 wake out with sem full value = 21...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 77...67108421
pid = 14 came in wait with sem full value = 21...67108421
pid = 14 wake out with sem full value = 20...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 78...67108421
pid = 14 came in wait with sem full value = 20...67108421
pid = 14 wake out with sem full value = 19...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 79...67108421
pid = 14 came in wait with sem full value = 19...67108421
pid = 14 wake out with sem full value = 18...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 80...67108421
pid = 14 came in wait with sem full value = 18...67108421
pid = 14 wake out with sem full value = 17...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 81...67108421
pid = 14 came in wait with sem full value = 17...67108421
pid = 14 wake out with sem full value = 16...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 82...67108421
pid = 14 came in wait with sem full value = 16...67108421
pid = 14 wake out with sem full value = 15...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 83...67108421
pid = 14 came in wait with sem full value = 15...67108421
pid = 14 wake out with sem full value = 14...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 84...67108421
pid = 14 came in wait with sem full value = 14...67108421
pid = 14 wake out with sem full value = 13...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 85...67108421
pid = 14 came in wait with sem full value = 13...67108421
pid = 14 wake out with sem full value = 12...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 86...67108421
pid = 14 came in wait with sem full value = 12...67108421
pid = 14 wake out with sem full value = 11...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 87...67108421
pid = 14 came in wait with sem full value = 11...67108421
pid = 14 wake out with sem full value = 10...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 88...67108421
pid = 14 came in wait with sem full value = 10...67108421
pid = 14 wake out with sem full value = 9...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 89...67108421
pid = 14 came in wait with sem full value = 9...67108421
pid = 14 wake out with sem full value = 8...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 90...67108421
pid = 14 came in wait with sem full value = 8...67108421
pid = 14 wake out with sem full value = 7...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 91...67108421
pid = 14 came in wait with sem full value = 7...67108421
pid = 14 wake out with sem full value = 6...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 92...67108421
pid = 14 came in wait with sem full value = 6...67108421
pid = 14 wake out with sem full value = 5...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 93...67108421
pid = 14 came in wait with sem full value = 5...67108421
pid = 14 wake out with sem full value = 4...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 94...67108421
pid = 14 came in wait with sem full value = 4...67108421
pid = 14 wake out with sem full value = 3...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 95...67108421
pid = 14 came in wait with sem full value = 3...67108421
pid = 14 wake out with sem full value = 2...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 96...67108421
pid = 14 came in wait with sem full value = 2...67108421
pid = 14 wake out with sem full value = 1...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 97...67108421
pid = 14 came in wait with sem full value = 1...67108421
pid = 14 wake out with sem full value = 0...67108421
pid = 14 came in wait with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 98...67108421
pid = 14 came in wait with sem full value = 0...67108421
pid = 14 goto sleep with sem full value = 0...67108421
pid = 13 wake up with sem full value = 0...0
pid = 13 goto sleep with sem full value = 0...0
pid = 11 wake up with sem full value = 0...0
pid = 11 goto sleep with sem full value = 0...0
pid = 10 wake up with sem full value = 0...0
pid = 10 goto sleep with sem full value = 0...0
pid = 19 wake up with sem full value = 0...67108421
pid = 19 goto sleep with sem full value = 0...67108421
pid = 17 wake up with sem full value = 0...0
pid = 17 goto sleep with sem full value = 0...0
pid = 15 wake up with sem full value = 0...0
pid = 15 goto sleep with sem full value = 0...0
pid = 12 wake up with sem full value = 0...0
pid = 12 goto sleep with sem full value = 0...0
pid = 18 wake up with sem full value = 0...67108421
pid = 18 goto sleep with sem full value = 0...67108421
pid = 16 wake up with sem full value = 0...67108421
pid = 16 goto sleep with sem full value = 0...67108421
pid = 9 came in post with sem full value = 0...10
pid = 9 wake up pid = 14 in post with sem full value = 1...176
pid = 9 came in wait with sem empty value = 99...1
pid = 9 wake out with sem empty value = 98...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 1...1
pid = 9 wake up pid = 13 in post with sem full value = 2...176
pid = 9 came in wait with sem empty value = 98...2
pid = 9 wake out with sem empty value = 97...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 2...2
pid = 9 wake up pid = 11 in post with sem full value = 3...176
pid = 9 came in wait with sem empty value = 97...3
pid = 9 wake out with sem empty value = 96...3
pid = 9 came in wait with sem mutex value = 1...3
pid = 9 wake out with sem mutex value = 0...3
pid = 9 came in post with sem mutex value = 0...3
pid = 9 came in post with sem full value = 3...3
pid = 9 wake up pid = 10 in post with sem full value = 4...176
pid = 9 came in wait with sem empty value = 96...4
pid = 9 wake out with sem empty value = 95...4
pid = 9 came in wait with sem mutex value = 1...4
pid = 9 wake out with sem mutex value = 0...4
pid = 9 came in post with sem mutex value = 0...4
pid = 9 came in post with sem full value = 4...4
pid = 9 wake up pid = 19 in post with sem full value = 5...176
pid = 9 came in wait with sem empty value = 95...5
pid = 9 wake out with sem empty value = 94...5
pid = 9 came in wait with sem mutex value = 1...5
pid = 9 wake out with sem mutex value = 0...5
pid = 9 came in post with sem mutex value = 0...5
pid = 9 came in post with sem full value = 5...5
pid = 9 wake up pid = 17 in post with sem full value = 6...176
pid = 9 came in wait with sem empty value = 94...6
pid = 9 wake out with sem empty value = 93...6
pid = 9 came in wait with sem mutex value = 1...6
pid = 9 wake out with sem mutex value = 0...6
pid = 9 came in post with sem mutex value = 0...6
pid = 9 came in post with sem full value = 6...6
pid = 9 wake up pid = 15 in post with sem full value = 7...176
pid = 9 came in wait with sem empty value = 93...7
pid = 9 wake out with sem empty value = 92...7
pid = 9 came in wait with sem mutex value = 1...7
pid = 9 wake out with sem mutex value = 0...7
pid = 9 came in post with sem mutex value = 0...7
pid = 9 came in post with sem full value = 7...7
pid = 9 wake up pid = 12 in post with sem full value = 8...176
pid = 9 came in wait with sem empty value = 92...8
pid = 9 wake out with sem empty value = 91...8
pid = 9 came in wait with sem mutex value = 1...8
pid = 9 wake out with sem mutex value = 0...8
pid = 9 came in post with sem mutex value = 0...8
pid = 9 came in post with sem full value = 8...8
pid = 9 wake up pid = 18 in post with sem full value = 9...176
pid = 9 came in wait with sem empty value = 91...9
pid = 9 wake out with sem empty value = 90...9
pid = 9 came in wait with sem mutex value = 1...9
pid = 9 wake out with sem mutex value = 0...9
pid = 9 came in post with sem mutex value = 0...9
pid = 9 came in post with sem full value = 9...9
pid = 9 wake up pid = 16 in post with sem full value = 10...176
pid = 9 came in wait with sem empty value = 90...10
pid = 9 wake out with sem empty value = 89...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 10...10
pid = 9 came in wait with sem empty value = 89...10
pid = 9 wake out with sem empty value = 88...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 11...10
pid = 9 came in wait with sem empty value = 88...10
pid = 9 wake out with sem empty value = 87...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 12...10
pid = 9 came in wait with sem empty value = 87...10
pid = 9 wake out with sem empty value = 86...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 13...10
pid = 9 came in wait with sem empty value = 86...10
pid = 9 wake out with sem empty value = 85...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 14...10
pid = 9 came in wait with sem empty value = 85...10
pid = 9 wake out with sem empty value = 84...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 15...10
pid = 9 came in wait with sem empty value = 84...10
pid = 9 wake out with sem empty value = 83...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 16...10
pid = 9 came in wait with sem empty value = 83...10
pid = 9 wake out with sem empty value = 82...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 17...10
pid = 9 came in wait with sem empty value = 82...10
pid = 9 wake out with sem empty value = 81...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 18...10
pid = 9 came in wait with sem empty value = 81...10
pid = 9 wake out with sem empty value = 80...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 19...10
pid = 9 came in wait with sem empty value = 80...10
pid = 9 wake out with sem empty value = 79...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 20...10
pid = 9 came in wait with sem empty value = 79...10
pid = 9 wake out with sem empty value = 78...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 21...10
pid = 9 came in wait with sem empty value = 78...10
pid = 9 wake out with sem empty value = 77...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 22...10
pid = 9 came in wait with sem empty value = 77...10
pid = 9 wake out with sem empty value = 76...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 23...10
pid = 9 came in wait with sem empty value = 76...10
pid = 9 wake out with sem empty value = 75...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 24...10
pid = 9 came in wait with sem empty value = 75...39953
pid = 9 wake out with sem empty value = 74...39953
pid = 9 came in wait with sem mutex value = 1...39953
pid = 9 wake out with sem mutex value = 0...39953
pid = 9 came in post with sem mutex value = 0...39953
pid = 9 came in post with sem full value = 25...39953
pid = 9 came in wait with sem empty value = 74...39953
pid = 9 wake out with sem empty value = 73...39953
pid = 9 came in wait with sem mutex value = 1...39953
pid = 9 wake out with sem mutex value = 0...39953
pid = 9 came in post with sem mutex value = 0...39953
pid = 11 wake up with sem full value = 26...0
pid = 11 wake out with sem full value = 25...0
pid = 11 came in wait with sem mutex value = 1...0
pid = 11 wake out with sem mutex value = 0...0
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 73...67108421
pid = 11 came in wait with sem full value = 25...67108421
pid = 11 wake out with sem full value = 24...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 74...67108421
pid = 11 came in wait with sem full value = 24...67108421
pid = 11 wake out with sem full value = 23...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 75...67108421
pid = 11 came in wait with sem full value = 23...67108421
pid = 11 wake out with sem full value = 22...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 76...67108421
pid = 11 came in wait with sem full value = 22...67108421
pid = 11 wake out with sem full value = 21...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 77...67108421
pid = 11 came in wait with sem full value = 21...67108421
pid = 11 wake out with sem full value = 20...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 78...67108421
pid = 11 came in wait with sem full value = 20...67108421
pid = 11 wake out with sem full value = 19...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 79...67108421
pid = 11 came in wait with sem full value = 19...67108421
pid = 11 wake out with sem full value = 18...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 80...67108421
pid = 11 came in wait with sem full value = 18...67108421
pid = 11 wake out with sem full value = 17...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 81...67108421
pid = 11 came in wait with sem full value = 17...67108421
pid = 11 wake out with sem full value = 16...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 82...67108421
pid = 11 came in wait with sem full value = 16...67108421
pid = 11 wake out with sem full value = 15...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 83...67108421
pid = 11 came in wait with sem full value = 15...67108421
pid = 11 wake out with sem full value = 14...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 84...67108421
pid = 11 came in wait with sem full value = 14...67108421
pid = 11 wake out with sem full value = 13...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 85...67108421
pid = 11 came in wait with sem full value = 13...67108421
pid = 11 wake out with sem full value = 12...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 86...67108421
pid = 11 came in wait with sem full value = 12...67108421
pid = 11 wake out with sem full value = 11...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 87...67108421
pid = 11 came in wait with sem full value = 11...67108421
pid = 11 wake out with sem full value = 10...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 88...67108421
pid = 11 came in wait with sem full value = 10...67108421
pid = 11 wake out with sem full value = 9...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 89...67108421
pid = 11 came in wait with sem full value = 9...67108421
pid = 11 wake out with sem full value = 8...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 90...67108421
pid = 11 came in wait with sem full value = 8...67108421
pid = 11 wake out with sem full value = 7...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...67108421
pid = 11 came in post with sem empty value = 91...67108421
pid = 11 came in wait with sem full value = 7...67108421
pid = 11 wake out with sem full value = 6...67108421
pid = 11 came in wait with sem mutex value = 1...67108421
pid = 11 wake out with sem mutex value = 0...67108421
pid = 11 came in post with sem mutex value = 0...16
pid = 11 came in post with sem empty value = 92...16
pid = 11 came in wait with sem full value = 6...16
pid = 11 wake out with sem full value = 5...16
pid = 11 came in wait with sem mutex value = 1...16
pid = 11 wake out with sem mutex value = 0...16
pid = 11 came in post with sem mutex value = 0...16
pid = 11 came in post with sem empty value = 93...16
pid = 11 came in wait with sem full value = 5...16
pid = 11 wake out with sem full value = 4...16
pid = 11 came in wait with sem mutex value = 1...16
pid = 11 wake out with sem mutex value = 0...16
pid = 11 came in post with sem mutex value = 0...16
pid = 11 came in post with sem empty value = 94...16
pid = 11 came in wait with sem full value = 4...16
pid = 11 wake out with sem full value = 3...16
pid = 11 came in wait with sem mutex value = 1...16
pid = 11 wake out with sem mutex value = 0...16
pid = 11 came in post with sem mutex value = 0...16
pid = 11 came in post with sem empty value = 95...16
pid = 11 came in wait with sem full value = 3...16
pid = 11 wake out with sem full value = 2...16
pid = 11 came in wait with sem mutex value = 1...16
pid = 11 wake out with sem mutex value = 0...16
pid = 11 came in post with sem mutex value = 0...16
pid = 11 came in post with sem empty value = 96...16
pid = 11 came in wait with sem full value = 2...16
pid = 11 wake out with sem full value = 1...16
pid = 11 came in wait with sem mutex value = 1...16
pid = 11 wake out with sem mutex value = 0...16
pid = 11 came in post with sem mutex value = 0...16
pid = 11 came in post with sem empty value = 97...16
pid = 11 came in wait with sem full value = 1...16
pid = 11 wake out with sem full value = 0...16
pid = 11 came in wait with sem mutex value = 1...16
pid = 11 wake out with sem mutex value = 0...16
pid = 11 came in post with sem mutex value = 0...16
pid = 11 came in post with sem empty value = 98...16
pid = 11 came in wait with sem full value = 0...16
pid = 11 goto sleep with sem full value = 0...16
pid = 10 wake up with sem full value = 0...0
pid = 10 goto sleep with sem full value = 0...0
pid = 19 wake up with sem full value = 0...67108421
pid = 19 goto sleep with sem full value = 0...67108421
pid = 17 wake up with sem full value = 0...0
pid = 17 goto sleep with sem full value = 0...0
pid = 15 wake up with sem full value = 0...0
pid = 15 goto sleep with sem full value = 0...0
pid = 13 wake up with sem full value = 0...0
pid = 13 goto sleep with sem full value = 0...0
pid = 12 wake up with sem full value = 0...0
pid = 12 goto sleep with sem full value = 0...0
pid = 18 wake up with sem full value = 0...67108421
pid = 18 goto sleep with sem full value = 0...67108421
pid = 16 wake up with sem full value = 0...67108421
pid = 16 goto sleep with sem full value = 0...67108421
pid = 14 wake up with sem full value = 0...67108421
pid = 14 goto sleep with sem full value = 0...67108421
pid = 9 came in post with sem full value = 0...39953
pid = 9 wake up pid = 11 in post with sem full value = 1...128
pid = 9 came in wait with sem empty value = 99...1
pid = 9 wake out with sem empty value = 98...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 1...1
pid = 9 wake up pid = 10 in post with sem full value = 2...128
pid = 9 came in wait with sem empty value = 98...2
pid = 9 wake out with sem empty value = 97...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 2...2
pid = 9 wake up pid = 19 in post with sem full value = 3...128
pid = 9 came in wait with sem empty value = 97...3
pid = 9 wake out with sem empty value = 96...3
pid = 9 came in wait with sem mutex value = 1...3
pid = 9 wake out with sem mutex value = 0...3
pid = 9 came in post with sem mutex value = 0...3
pid = 9 came in post with sem full value = 3...3
pid = 9 wake up pid = 17 in post with sem full value = 4...128
pid = 9 came in wait with sem empty value = 96...4
pid = 9 wake out with sem empty value = 95...4
pid = 9 came in wait with sem mutex value = 1...4
pid = 9 wake out with sem mutex value = 0...4
pid = 9 came in post with sem mutex value = 0...4
pid = 9 came in post with sem full value = 4...4
pid = 9 wake up pid = 15 in post with sem full value = 5...128
pid = 9 came in wait with sem empty value = 95...5
pid = 9 wake out with sem empty value = 94...5
pid = 9 came in wait with sem mutex value = 1...5
pid = 9 wake out with sem mutex value = 0...5
pid = 9 came in post with sem mutex value = 0...5
pid = 9 came in post with sem full value = 5...5
pid = 9 wake up pid = 13 in post with sem full value = 6...128
pid = 9 came in wait with sem empty value = 94...6
pid = 9 wake out with sem empty value = 93...6
pid = 9 came in wait with sem mutex value = 1...6
pid = 9 wake out with sem mutex value = 0...6
pid = 9 came in post with sem mutex value = 0...6
pid = 9 came in post with sem full value = 6...6
pid = 9 wake up pid = 12 in post with sem full value = 7...128
pid = 9 came in wait with sem empty value = 93...7
pid = 9 wake out with sem empty value = 92...7
pid = 9 came in wait with sem mutex value = 1...7
pid = 9 wake out with sem mutex value = 0...7
pid = 9 came in post with sem mutex value = 0...7
pid = 9 came in post with sem full value = 7...7
pid = 9 wake up pid = 18 in post with sem full value = 8...128
pid = 9 came in wait with sem empty value = 92...8
pid = 9 wake out with sem empty value = 91...8
pid = 9 came in wait with sem mutex value = 1...8
pid = 9 wake out with sem mutex value = 0...8
pid = 9 came in post with sem mutex value = 0...8
pid = 9 came in post with sem full value = 8...8
pid = 9 wake up pid = 16 in post with sem full value = 9...128
pid = 9 came in wait with sem empty value = 91...9
pid = 9 wake out with sem empty value = 90...9
pid = 9 came in wait with sem mutex value = 1...9
pid = 9 wake out with sem mutex value = 0...9
pid = 9 came in post with sem mutex value = 0...9
pid = 9 came in post with sem full value = 9...9
pid = 9 wake up pid = 14 in post with sem full value = 10...128
pid = 9 came in wait with sem empty value = 90...10
pid = 9 wake out with sem empty value = 89...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 10...10
pid = 9 came in wait with sem empty value = 89...10
pid = 9 wake out with sem empty value = 88...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 11...10
pid = 9 came in wait with sem empty value = 88...10
pid = 9 wake out with sem empty value = 87...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 12...10
pid = 9 came in wait with sem empty value = 87...10
pid = 9 wake out with sem empty value = 86...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 13...2
pid = 9 came in wait with sem empty value = 86...2
pid = 9 wake out with sem empty value = 85...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 14...2
pid = 9 came in wait with sem empty value = 85...2
pid = 9 wake out with sem empty value = 84...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 15...2
pid = 9 came in wait with sem empty value = 84...2
pid = 9 wake out with sem empty value = 83...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 16...2
pid = 9 came in wait with sem empty value = 83...2
pid = 9 wake out with sem empty value = 82...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 17...2
pid = 9 came in wait with sem empty value = 82...2
pid = 9 wake out with sem empty value = 81...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 18...2
pid = 9 came in wait with sem empty value = 81...2
pid = 9 wake out with sem empty value = 80...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 19...2
pid = 9 came in wait with sem empty value = 80...2
pid = 9 wake out with sem empty value = 79...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 20...2
pid = 9 came in wait with sem empty value = 79...2
pid = 9 wake out with sem empty value = 78...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 21...2
pid = 9 came in wait with sem empty value = 78...2
pid = 9 wake out with sem empty value = 77...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 22...2
pid = 9 came in wait with sem empty value = 77...2
pid = 9 wake out with sem empty value = 76...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 23...2
pid = 9 came in wait with sem empty value = 76...2
pid = 9 wake out with sem empty value = 75...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 24...2
pid = 9 came in wait with sem empty value = 75...2
pid = 9 wake out with sem empty value = 74...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 25...2
pid = 9 came in wait with sem empty value = 74...2
pid = 9 wake out with sem empty value = 73...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 26...2
pid = 9 came in wait with sem empty value = 73...2
pid = 9 wake out with sem empty value = 72...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 17 wake up with sem full value = 27...0
pid = 17 wake out with sem full value = 26...0
pid = 17 came in wait with sem mutex value = 0...0
pid = 17 goto sleep with sem mutex value = 0...0
pid = 15 wake up with sem full value = 26...0
pid = 15 wake out with sem full value = 25...0
pid = 15 came in wait with sem mutex value = 0...0
pid = 15 goto sleep with sem mutex value = 0...0
pid = 13 wake up with sem full value = 25...0
pid = 13 wake out with sem full value = 24...0
pid = 13 came in wait with sem mutex value = 0...0
pid = 13 goto sleep with sem mutex value = 0...0
pid = 10 wake up with sem full value = 24...0
pid = 10 wake out with sem full value = 23...0
pid = 10 came in wait with sem mutex value = 0...0
pid = 10 goto sleep with sem mutex value = 0...0
pid = 19 wake up with sem full value = 23...67108421
pid = 19 wake out with sem full value = 22...67108421
pid = 19 came in wait with sem mutex value = 0...67108421
pid = 19 goto sleep with sem mutex value = 0...67108421
pid = 18 wake up with sem full value = 22...67108421
pid = 18 wake out with sem full value = 21...67108421
pid = 18 came in wait with sem mutex value = 0...67108421
pid = 18 goto sleep with sem mutex value = 0...67108421
pid = 12 wake up with sem full value = 21...0
pid = 12 wake out with sem full value = 20...0
pid = 12 came in wait with sem mutex value = 0...0
pid = 12 goto sleep with sem mutex value = 0...0
pid = 16 wake up with sem full value = 20...67108421
pid = 16 wake out with sem full value = 19...67108421
pid = 16 came in wait with sem mutex value = 0...67108421
pid = 16 goto sleep with sem mutex value = 0...67108421
pid = 14 wake up with sem full value = 19...67108421
pid = 14 wake out with sem full value = 18...67108421
pid = 14 came in wait with sem mutex value = 0...67108421
pid = 14 goto sleep with sem mutex value = 0...67108421
pid = 11 wake up with sem full value = 18...16
pid = 11 wake out with sem full value = 17...16
pid = 11 came in wait with sem mutex value = 0...16
pid = 11 goto sleep with sem mutex value = 0...16
pid = 9 came in post with sem mutex value = 0...2
pid = 9 wake up pid = 17 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 17...1
pid = 9 came in wait with sem empty value = 72...1
pid = 9 wake out with sem empty value = 71...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 15 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 18...1
pid = 9 came in wait with sem empty value = 71...1
pid = 9 wake out with sem empty value = 70...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...23
pid = 9 wake up pid = 13 in post with sem mutex value = 1...16
pid = 9 came in post with sem full value = 19...1
pid = 9 came in wait with sem empty value = 70...1
pid = 9 wake out with sem empty value = 69...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 10 in post with sem mutex value = 1...16
pid = 9 came in post with sem full value = 20...1
pid = 9 came in wait with sem empty value = 69...1
pid = 9 wake out with sem empty value = 68...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 19 in post with sem mutex value = 1...16
pid = 9 came in post with sem full value = 21...1
pid = 9 came in wait with sem empty value = 68...1
pid = 9 wake out with sem empty value = 67...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 18 in post with sem mutex value = 1...16
pid = 9 came in post with sem full value = 22...1
pid = 9 came in wait with sem empty value = 67...1
pid = 9 wake out with sem empty value = 66...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 12 in post with sem mutex value = 1...16
pid = 9 came in post with sem full value = 23...1
pid = 9 came in wait with sem empty value = 66...1
pid = 9 wake out with sem empty value = 65...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 16 in post with sem mutex value = 1...16
pid = 9 came in post with sem full value = 24...1
pid = 9 came in wait with sem empty value = 65...1
pid = 9 wake out with sem empty value = 64...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 14 in post with sem mutex value = 1...16
pid = 9 came in post with sem full value = 25...1
pid = 9 came in wait with sem empty value = 64...1
pid = 9 wake out with sem empty value = 63...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 11 in post with sem mutex value = 1...16
pid = 9 came in post with sem full value = 26...1
pid = 9 came in wait with sem empty value = 63...1
pid = 9 wake out with sem empty value = 62...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 27...1
pid = 9 came in wait with sem empty value = 62...1
pid = 9 wake out with sem empty value = 61...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 28...1
pid = 9 came in wait with sem empty value = 61...1
pid = 9 wake out with sem empty value = 60...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 29...1
pid = 9 came in wait with sem empty value = 60...1
pid = 9 wake out with sem empty value = 59...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 30...1
pid = 9 came in wait with sem empty value = 59...1
pid = 9 wake out with sem empty value = 58...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 31...1
pid = 9 came in wait with sem empty value = 58...1
pid = 9 wake out with sem empty value = 57...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 32...1
pid = 9 came in wait with sem empty value = 57...1
pid = 9 wake out with sem empty value = 56...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 33...1
pid = 9 came in wait with sem empty value = 56...1
pid = 9 wake out with sem empty value = 55...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 34...1
pid = 9 came in wait with sem empty value = 55...1
pid = 9 wake out with sem empty value = 54...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 35...1
pid = 9 came in wait with sem empty value = 54...1
pid = 9 wake out with sem empty value = 53...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 36...1
pid = 9 came in wait with sem empty value = 53...1
pid = 9 wake out with sem empty value = 52...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 37...1
pid = 9 came in wait with sem empty value = 52...1
pid = 9 wake out with sem empty value = 51...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 38...1
pid = 9 came in wait with sem empty value = 51...1
pid = 9 wake out with sem empty value = 50...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 39...1
pid = 9 came in wait with sem empty value = 50...1
pid = 9 wake out with sem empty value = 49...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 40...1
pid = 9 came in wait with sem empty value = 49...1
pid = 9 wake out with sem empty value = 48...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 41...1
pid = 9 came in wait with sem empty value = 48...1
pid = 9 wake out with sem empty value = 47...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 42...1
pid = 9 came in wait with sem empty value = 47...1
pid = 9 wake out with sem empty value = 46...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 43...1
pid = 9 came in wait with sem empty value = 46...1
pid = 9 wake out with sem empty value = 45...1
pid = 19 wake up with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...67108421
pid = 19 came in post with sem empty value = 45...67108421
pid = 19 came in wait with sem full value = 44...67108421
pid = 19 wake out with sem full value = 43...67108421
pid = 19 came in wait with sem mutex value = 1...67108421
pid = 19 wake out with sem mutex value = 0...67108421
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 46...4
pid = 19 came in wait with sem full value = 43...4
pid = 19 wake out with sem full value = 42...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 47...4
pid = 19 came in wait with sem full value = 42...4
pid = 19 wake out with sem full value = 41...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 48...4
pid = 19 came in wait with sem full value = 41...4
pid = 19 wake out with sem full value = 40...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 49...4
pid = 19 came in wait with sem full value = 40...4
pid = 19 wake out with sem full value = 39...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 50...4
pid = 19 came in wait with sem full value = 39...4
pid = 19 wake out with sem full value = 38...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 51...4
pid = 19 came in wait with sem full value = 38...4
pid = 19 wake out with sem full value = 37...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 52...4
pid = 19 came in wait with sem full value = 37...4
pid = 19 wake out with sem full value = 36...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 53...4
pid = 19 came in wait with sem full value = 36...4
pid = 19 wake out with sem full value = 35...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 54...4
pid = 19 came in wait with sem full value = 35...4
pid = 19 wake out with sem full value = 34...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 55...4
pid = 19 came in wait with sem full value = 34...4
pid = 19 wake out with sem full value = 33...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 56...4
pid = 19 came in wait with sem full value = 33...4
pid = 19 wake out with sem full value = 32...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 57...4
pid = 19 came in wait with sem full value = 32...4
pid = 19 wake out with sem full value = 31...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 58...4
pid = 19 came in wait with sem full value = 31...4
pid = 19 wake out with sem full value = 30...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 59...4
pid = 19 came in wait with sem full value = 30...4
pid = 19 wake out with sem full value = 29...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 60...4
pid = 19 came in wait with sem full value = 29...4
pid = 19 wake out with sem full value = 28...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 61...4
pid = 19 came in wait with sem full value = 28...4
pid = 19 wake out with sem full value = 27...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 62...4
pid = 19 came in wait with sem full value = 27...4
pid = 19 wake out with sem full value = 26...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 63...4
pid = 19 came in wait with sem full value = 26...4
pid = 19 wake out with sem full value = 25...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 64...4
pid = 19 came in wait with sem full value = 25...4
pid = 19 wake out with sem full value = 24...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 65...4
pid = 19 came in wait with sem full value = 24...4
pid = 19 wake out with sem full value = 23...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 66...4
pid = 19 came in wait with sem full value = 23...4
pid = 19 wake out with sem full value = 22...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 67...4
pid = 19 came in wait with sem full value = 22...4
pid = 19 wake out with sem full value = 21...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 68...4
pid = 19 came in wait with sem full value = 21...4
pid = 19 wake out with sem full value = 20...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 69...4
pid = 19 came in wait with sem full value = 20...4
pid = 19 wake out with sem full value = 19...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 70...4
pid = 19 came in wait with sem full value = 19...4
pid = 19 wake out with sem full value = 18...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 71...4
pid = 19 came in wait with sem full value = 18...4
pid = 19 wake out with sem full value = 17...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 72...4
pid = 19 came in wait with sem full value = 17...4
pid = 19 wake out with sem full value = 16...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 73...4
pid = 19 came in wait with sem full value = 16...4
pid = 19 wake out with sem full value = 15...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 74...4
pid = 19 came in wait with sem full value = 15...4
pid = 19 wake out with sem full value = 14...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 75...4
pid = 19 came in wait with sem full value = 14...4
pid = 19 wake out with sem full value = 13...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 76...4
pid = 19 came in wait with sem full value = 13...4
pid = 19 wake out with sem full value = 12...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 77...4
pid = 19 came in wait with sem full value = 12...4
pid = 19 wake out with sem full value = 11...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 78...4
pid = 19 came in wait with sem full value = 11...4
pid = 19 wake out with sem full value = 10...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 79...4
pid = 19 came in wait with sem full value = 10...4
pid = 19 wake out with sem full value = 9...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 80...4
pid = 19 came in wait with sem full value = 9...4
pid = 19 wake out with sem full value = 8...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 81...4
pid = 19 came in wait with sem full value = 8...4
pid = 19 wake out with sem full value = 7...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 82...4
pid = 19 came in wait with sem full value = 7...4
pid = 19 wake out with sem full value = 6...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 83...4
pid = 19 came in wait with sem full value = 6...4
pid = 19 wake out with sem full value = 5...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 84...4
pid = 19 came in wait with sem full value = 5...4
pid = 19 wake out with sem full value = 4...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 85...4
pid = 19 came in wait with sem full value = 4...4
pid = 19 wake out with sem full value = 3...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 86...4
pid = 19 came in wait with sem full value = 3...4
pid = 19 wake out with sem full value = 2...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 87...4
pid = 19 came in wait with sem full value = 2...4
pid = 19 wake out with sem full value = 1...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 88...4
pid = 19 came in wait with sem full value = 1...4
pid = 19 wake out with sem full value = 0...4
pid = 19 came in wait with sem mutex value = 1...4
pid = 19 wake out with sem mutex value = 0...4
pid = 19 came in post with sem mutex value = 0...4
pid = 19 came in post with sem empty value = 89...4
pid = 19 came in wait with sem full value = 0...4
pid = 19 goto sleep with sem full value = 0...4
pid = 17 wake up with sem mutex value = 1...0
pid = 17 wake out with sem mutex value = 0...0
pid = 17 came in post with sem mutex value = 0...67108421
pid = 17 came in post with sem empty value = 90...67108421
pid = 17 came in wait with sem full value = 0...67108421
pid = 17 goto sleep with sem full value = 0...67108421
pid = 15 wake up with sem mutex value = 1...0
pid = 15 wake out with sem mutex value = 0...0
pid = 15 came in post with sem mutex value = 0...67108421
pid = 15 came in post with sem empty value = 91...67108421
pid = 15 came in wait with sem full value = 0...67108421
pid = 15 goto sleep with sem full value = 0...67108421
pid = 13 wake up with sem mutex value = 1...0
pid = 13 wake out with sem mutex value = 0...0
pid = 13 came in post with sem mutex value = 0...67108421
pid = 13 came in post with sem empty value = 92...67108421
pid = 13 came in wait with sem full value = 0...67108421
pid = 13 goto sleep with sem full value = 0...67108421
pid = 12 wake up with sem mutex value = 1...0
pid = 12 wake out with sem mutex value = 0...0
pid = 12 came in post with sem mutex value = 0...67108421
pid = 12 came in post with sem empty value = 93...67108421
pid = 12 came in wait with sem full value = 0...67108421
pid = 12 goto sleep with sem full value = 0...67108421
pid = 10 wake up with sem mutex value = 1...0
pid = 10 wake out with sem mutex value = 0...0
pid = 10 came in post with sem mutex value = 0...67108421
pid = 10 came in post with sem empty value = 94...67108421
pid = 10 came in wait with sem full value = 0...67108421
pid = 10 goto sleep with sem full value = 0...67108421
pid = 18 wake up with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 95...67108421
pid = 18 came in wait with sem full value = 0...67108421
pid = 18 goto sleep with sem full value = 0...67108421
pid = 16 wake up with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 96...67108421
pid = 16 came in wait with sem full value = 0...67108421
pid = 16 goto sleep with sem full value = 0...67108421
pid = 14 wake up with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 97...67108421
pid = 14 came in wait with sem full value = 0...67108421
pid = 14 goto sleep with sem full value = 0...67108421
pid = 11 wake up with sem mutex value = 1...16
pid = 11 wake out with sem mutex value = 0...16
pid = 11 came in post with sem mutex value = 0...16
pid = 11 came in post with sem empty value = 98...16
pid = 11 came in wait with sem full value = 0...16
pid = 11 goto sleep with sem full value = 0...16
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 0...1
pid = 9 wake up pid = 19 in post with sem full value = 1...256
pid = 9 came in wait with sem empty value = 99...1
pid = 9 wake out with sem empty value = 98...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 1...1
pid = 9 wake up pid = 17 in post with sem full value = 2...256
pid = 9 came in wait with sem empty value = 98...2
pid = 9 wake out with sem empty value = 97...2
pid = 9 came in wait with sem mutex value = 1...2
pid = 9 wake out with sem mutex value = 0...2
pid = 9 came in post with sem mutex value = 0...2
pid = 9 came in post with sem full value = 2...2
pid = 9 wake up pid = 15 in post with sem full value = 3...256
pid = 9 came in wait with sem empty value = 97...3
pid = 9 wake out with sem empty value = 96...3
pid = 9 came in wait with sem mutex value = 1...3
pid = 9 wake out with sem mutex value = 0...3
pid = 9 came in post with sem mutex value = 0...3
pid = 9 came in post with sem full value = 3...3
pid = 9 wake up pid = 13 in post with sem full value = 4...256
pid = 9 came in wait with sem empty value = 96...4
pid = 9 wake out with sem empty value = 95...4
pid = 9 came in wait with sem mutex value = 1...4
pid = 9 wake out with sem mutex value = 0...4
pid = 9 came in post with sem mutex value = 0...4
pid = 9 came in post with sem full value = 4...4
pid = 9 wake up pid = 12 in post with sem full value = 5...256
pid = 9 came in wait with sem empty value = 95...5
pid = 9 wake out with sem empty value = 94...5
pid = 9 came in wait with sem mutex value = 1...5
pid = 9 wake out with sem mutex value = 0...5
pid = 9 came in post with sem mutex value = 0...5
pid = 9 came in post with sem full value = 5...5
pid = 9 wake up pid = 10 in post with sem full value = 6...256
pid = 9 came in wait with sem empty value = 94...6
pid = 9 wake out with sem empty value = 93...6
pid = 9 came in wait with sem mutex value = 1...6
pid = 9 wake out with sem mutex value = 0...6
pid = 9 came in post with sem mutex value = 0...6
pid = 9 came in post with sem full value = 6...6
pid = 9 wake up pid = 18 in post with sem full value = 7...256
pid = 9 came in wait with sem empty value = 93...7
pid = 9 wake out with sem empty value = 92...7
pid = 9 came in wait with sem mutex value = 1...7
pid = 9 wake out with sem mutex value = 0...7
pid = 9 came in post with sem mutex value = 0...7
pid = 9 came in post with sem full value = 7...7
pid = 9 wake up pid = 16 in post with sem full value = 8...256
pid = 9 came in wait with sem empty value = 92...8
pid = 9 wake out with sem empty value = 91...8
pid = 9 came in wait with sem mutex value = 1...8
pid = 9 wake out with sem mutex value = 0...8
pid = 9 came in post with sem mutex value = 0...8
pid = 9 came in post with sem full value = 8...8
pid = 9 wake up pid = 14 in post with sem full value = 9...256
pid = 9 came in wait with sem empty value = 91...9
pid = 9 wake out with sem empty value = 90...9
pid = 9 came in wait with sem mutex value = 1...9
pid = 9 wake out with sem mutex value = 0...9
pid = 9 came in post with sem mutex value = 0...9
pid = 9 came in post with sem full value = 9...9
pid = 9 wake up pid = 11 in post with sem full value = 10...256
pid = 9 came in wait with sem empty value = 90...10
pid = 9 wake out with sem empty value = 89...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 10...10
pid = 9 came in wait with sem empty value = 89...10
pid = 9 wake out with sem empty value = 88...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 11...10
pid = 9 came in wait with sem empty value = 88...10
pid = 9 wake out with sem empty value = 87...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 12...10
pid = 9 came in wait with sem empty value = 87...10
pid = 9 wake out with sem empty value = 86...10
pid = 9 came in wait with sem mutex value = 1...10
pid = 9 wake out with sem mutex value = 0...10
pid = 9 came in post with sem mutex value = 0...10
pid = 9 came in post with sem full value = 13...10
pid = 9 came in wait with sem empty value = 86...14
pid = 9 wake out with sem empty value = 85...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 14...14
pid = 9 came in wait with sem empty value = 85...14
pid = 9 wake out with sem empty value = 84...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 15...14
pid = 9 came in wait with sem empty value = 84...14
pid = 9 wake out with sem empty value = 83...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 16...14
pid = 9 came in wait with sem empty value = 83...14
pid = 9 wake out with sem empty value = 82...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 17...14
pid = 9 came in wait with sem empty value = 82...14
pid = 9 wake out with sem empty value = 81...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 18...14
pid = 9 came in wait with sem empty value = 81...14
pid = 9 wake out with sem empty value = 80...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 19...14
pid = 9 came in wait with sem empty value = 80...14
pid = 9 wake out with sem empty value = 79...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 20...14
pid = 9 came in wait with sem empty value = 79...14
pid = 9 wake out with sem empty value = 78...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 21...14
pid = 9 came in wait with sem empty value = 78...14
pid = 9 wake out with sem empty value = 77...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 22...14
pid = 9 came in wait with sem empty value = 77...14
pid = 9 wake out with sem empty value = 76...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 23...14
pid = 9 came in wait with sem empty value = 76...14
pid = 9 wake out with sem empty value = 75...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 24...14
pid = 9 came in wait with sem empty value = 75...14
pid = 9 wake out with sem empty value = 74...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 25...14
pid = 9 came in wait with sem empty value = 74...14
pid = 9 wake out with sem empty value = 73...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 9 came in post with sem mutex value = 0...14
pid = 9 came in post with sem full value = 26...14
pid = 9 came in wait with sem empty value = 73...14
pid = 9 wake out with sem empty value = 72...14
pid = 9 came in wait with sem mutex value = 1...14
pid = 9 wake out with sem mutex value = 0...14
pid = 17 wake up with sem full value = 27...67108421
pid = 17 wake out with sem full value = 26...67108421
pid = 17 came in wait with sem mutex value = 0...67108421
pid = 17 goto sleep with sem mutex value = 0...67108421
pid = 16 wake up with sem full value = 26...67108421
pid = 16 wake out with sem full value = 25...67108421
pid = 16 came in wait with sem mutex value = 0...67108421
pid = 16 goto sleep with sem mutex value = 0...67108421
pid = 15 wake up with sem full value = 25...67108421
pid = 15 wake out with sem full value = 24...67108421
pid = 15 came in wait with sem mutex value = 0...67108421
pid = 15 goto sleep with sem mutex value = 0...67108421
pid = 13 wake up with sem full value = 24...67108421
pid = 13 wake out with sem full value = 23...67108421
pid = 13 came in wait with sem mutex value = 0...67108421
pid = 13 goto sleep with sem mutex value = 0...67108421
pid = 12 wake up with sem full value = 23...67108421
pid = 12 wake out with sem full value = 22...67108421
pid = 12 came in wait with sem mutex value = 0...67108421
pid = 12 goto sleep with sem mutex value = 0...67108421
pid = 10 wake up with sem full value = 22...67108421
pid = 10 wake out with sem full value = 21...67108421
pid = 10 came in wait with sem mutex value = 0...67108421
pid = 10 goto sleep with sem mutex value = 0...67108421
pid = 18 wake up with sem full value = 21...67108421
pid = 18 wake out with sem full value = 20...67108421
pid = 18 came in wait with sem mutex value = 0...67108421
pid = 18 goto sleep with sem mutex value = 0...67108421
pid = 14 wake up with sem full value = 20...67108421
pid = 14 wake out with sem full value = 19...67108421
pid = 14 came in wait with sem mutex value = 0...67108421
pid = 14 goto sleep with sem mutex value = 0...67108421
pid = 11 wake up with sem full value = 19...16
pid = 11 wake out with sem full value = 18...16
pid = 11 came in wait with sem mutex value = 0...16
pid = 11 goto sleep with sem mutex value = 0...16
pid = 19 wake up with sem full value = 18...4
pid = 19 wake out with sem full value = 17...4
pid = 19 came in wait with sem mutex value = 0...4
pid = 19 goto sleep with sem mutex value = 0...4
pid = 9 came in post with sem mutex value = 0...14
pid = 9 wake up pid = 17 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 17...1
pid = 9 came in wait with sem empty value = 72...1
pid = 9 wake out with sem empty value = 71...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 16 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 18...1
pid = 9 came in wait with sem empty value = 71...1
pid = 9 wake out with sem empty value = 70...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 15 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 19...1
pid = 9 came in wait with sem empty value = 70...1
pid = 9 wake out with sem empty value = 69...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 13 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 20...1
pid = 9 came in wait with sem empty value = 69...1
pid = 9 wake out with sem empty value = 68...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 12 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 21...1
pid = 9 came in wait with sem empty value = 68...1
pid = 9 wake out with sem empty value = 67...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 10 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 22...1
pid = 9 came in wait with sem empty value = 67...1
pid = 9 wake out with sem empty value = 66...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 18 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 23...1
pid = 9 came in wait with sem empty value = 66...1
pid = 9 wake out with sem empty value = 65...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 14 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 24...1
pid = 9 came in wait with sem empty value = 65...1
pid = 9 wake out with sem empty value = 64...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 11 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 25...1
pid = 9 came in wait with sem empty value = 64...1
pid = 9 wake out with sem empty value = 63...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 wake up pid = 19 in post with sem mutex value = 1...224
pid = 9 came in post with sem full value = 26...1
pid = 9 came in wait with sem empty value = 63...1
pid = 9 wake out with sem empty value = 62...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 27...1
pid = 9 came in wait with sem empty value = 62...1
pid = 9 wake out with sem empty value = 61...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 28...1
pid = 9 came in wait with sem empty value = 61...1
pid = 9 wake out with sem empty value = 60...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 29...1
pid = 9 came in wait with sem empty value = 60...1
pid = 9 wake out with sem empty value = 59...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 30...1
pid = 9 came in wait with sem empty value = 59...1
pid = 9 wake out with sem empty value = 58...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 31...1
pid = 9 came in wait with sem empty value = 58...1
pid = 9 wake out with sem empty value = 57...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 32...1
pid = 9 came in wait with sem empty value = 57...1
pid = 9 wake out with sem empty value = 56...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 33...1
pid = 9 came in wait with sem empty value = 56...1
pid = 9 wake out with sem empty value = 55...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 34...1
pid = 9 came in wait with sem empty value = 55...1
pid = 9 wake out with sem empty value = 54...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 35...1
pid = 9 came in wait with sem empty value = 54...1
pid = 9 wake out with sem empty value = 53...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 36...1
pid = 9 came in wait with sem empty value = 53...1
pid = 9 wake out with sem empty value = 52...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 37...1
pid = 9 came in wait with sem empty value = 52...1
pid = 9 wake out with sem empty value = 51...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 38...1
pid = 9 came in wait with sem empty value = 51...1
pid = 9 wake out with sem empty value = 50...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 39...1
pid = 9 came in wait with sem empty value = 50...1
pid = 9 wake out with sem empty value = 49...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 40...1
pid = 9 came in wait with sem empty value = 49...1
pid = 9 wake out with sem empty value = 48...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 41...1
pid = 9 came in wait with sem empty value = 48...1
pid = 9 wake out with sem empty value = 47...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 42...1
pid = 9 came in wait with sem empty value = 47...1
pid = 9 wake out with sem empty value = 46...1
pid = 9 came in wait with sem mutex value = 1...1
pid = 9 wake out with sem mutex value = 0...1
pid = 9 came in post with sem mutex value = 0...1
pid = 9 came in post with sem full value = 43...1
pid = 18 wake up with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 46...67108421
pid = 18 came in wait with sem full value = 44...67108421
pid = 18 wake out with sem full value = 43...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 47...67108421
pid = 18 came in wait with sem full value = 43...67108421
pid = 18 wake out with sem full value = 42...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 48...67108421
pid = 18 came in wait with sem full value = 42...67108421
pid = 18 wake out with sem full value = 41...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 49...67108421
pid = 18 came in wait with sem full value = 41...67108421
pid = 18 wake out with sem full value = 40...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 50...67108421
pid = 18 came in wait with sem full value = 40...67108421
pid = 18 wake out with sem full value = 39...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 51...67108421
pid = 18 came in wait with sem full value = 39...67108421
pid = 18 wake out with sem full value = 38...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 52...67108421
pid = 18 came in wait with sem full value = 38...67108421
pid = 18 wake out with sem full value = 37...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 53...67108421
pid = 18 came in wait with sem full value = 37...67108421
pid = 18 wake out with sem full value = 36...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 54...67108421
pid = 18 came in wait with sem full value = 36...67108421
pid = 18 wake out with sem full value = 35...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 55...67108421
pid = 18 came in wait with sem full value = 35...67108421
pid = 18 wake out with sem full value = 34...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 56...67108421
pid = 18 came in wait with sem full value = 34...67108421
pid = 18 wake out with sem full value = 33...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 57...67108421
pid = 18 came in wait with sem full value = 33...67108421
pid = 18 wake out with sem full value = 32...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 58...67108421
pid = 18 came in wait with sem full value = 32...67108421
pid = 18 wake out with sem full value = 31...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 59...67108421
pid = 18 came in wait with sem full value = 31...67108421
pid = 18 wake out with sem full value = 30...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 60...67108421
pid = 18 came in wait with sem full value = 30...67108421
pid = 18 wake out with sem full value = 29...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 61...67108421
pid = 18 came in wait with sem full value = 29...67108421
pid = 18 wake out with sem full value = 28...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 62...67108421
pid = 18 came in wait with sem full value = 28...67108421
pid = 18 wake out with sem full value = 27...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 63...67108421
pid = 18 came in wait with sem full value = 27...67108421
pid = 18 wake out with sem full value = 26...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 64...67108421
pid = 18 came in wait with sem full value = 26...67108421
pid = 18 wake out with sem full value = 25...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 65...67108421
pid = 18 came in wait with sem full value = 25...67108421
pid = 18 wake out with sem full value = 24...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 66...67108421
pid = 18 came in wait with sem full value = 24...67108421
pid = 18 wake out with sem full value = 23...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 67...67108421
pid = 18 came in wait with sem full value = 23...67108421
pid = 18 wake out with sem full value = 22...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 68...67108421
pid = 18 came in wait with sem full value = 22...67108421
pid = 18 wake out with sem full value = 21...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 69...67108421
pid = 18 came in wait with sem full value = 21...67108421
pid = 18 wake out with sem full value = 20...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 70...67108421
pid = 18 came in wait with sem full value = 20...67108421
pid = 18 wake out with sem full value = 19...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 71...67108421
pid = 18 came in wait with sem full value = 19...67108421
pid = 18 wake out with sem full value = 18...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 72...67108421
pid = 18 came in wait with sem full value = 18...67108421
pid = 18 wake out with sem full value = 17...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 73...67108421
pid = 18 came in wait with sem full value = 17...67108421
pid = 18 wake out with sem full value = 16...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 74...67108421
pid = 18 came in wait with sem full value = 16...67108421
pid = 18 wake out with sem full value = 15...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 75...67108421
pid = 18 came in wait with sem full value = 15...67108421
pid = 18 wake out with sem full value = 14...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 76...67108421
pid = 18 came in wait with sem full value = 14...67108421
pid = 18 wake out with sem full value = 13...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 77...67108421
pid = 18 came in wait with sem full value = 13...67108421
pid = 18 wake out with sem full value = 12...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 78...67108421
pid = 18 came in wait with sem full value = 12...67108421
pid = 18 wake out with sem full value = 11...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 79...67108421
pid = 18 came in wait with sem full value = 11...67108421
pid = 18 wake out with sem full value = 10...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 80...67108421
pid = 18 came in wait with sem full value = 10...67108421
pid = 18 wake out with sem full value = 9...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 81...67108421
pid = 18 came in wait with sem full value = 9...67108421
pid = 18 wake out with sem full value = 8...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 82...67108421
pid = 18 came in wait with sem full value = 8...67108421
pid = 18 wake out with sem full value = 7...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 83...67108421
pid = 18 came in wait with sem full value = 7...67108421
pid = 18 wake out with sem full value = 6...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 84...67108421
pid = 18 came in wait with sem full value = 6...67108421
pid = 18 wake out with sem full value = 5...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 85...67108421
pid = 18 came in wait with sem full value = 5...67108421
pid = 18 wake out with sem full value = 4...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 86...67108421
pid = 18 came in wait with sem full value = 4...67108421
pid = 18 wake out with sem full value = 3...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 87...67108421
pid = 18 came in wait with sem full value = 3...67108421
pid = 18 wake out with sem full value = 2...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 88...67108421
pid = 18 came in wait with sem full value = 2...67108421
pid = 18 wake out with sem full value = 1...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 89...67108421
pid = 18 came in wait with sem full value = 1...67108421
pid = 18 wake out with sem full value = 0...67108421
pid = 18 came in wait with sem mutex value = 1...67108421
pid = 18 wake out with sem mutex value = 0...67108421
pid = 18 came in post with sem mutex value = 0...67108421
pid = 18 came in post with sem empty value = 90...67108421
pid = 18 came in wait with sem full value = 0...67108421
pid = 18 goto sleep with sem full value = 0...67108421
pid = 17 wake up with sem mutex value = 1...67108421
pid = 17 wake out with sem mutex value = 0...67108421
pid = 17 came in post with sem mutex value = 0...67108421
pid = 17 came in post with sem empty value = 91...67108421
pid = 17 came in wait with sem full value = 0...67108421
pid = 17 goto sleep with sem full value = 0...67108421
pid = 16 wake up with sem mutex value = 1...67108421
pid = 16 wake out with sem mutex value = 0...67108421
pid = 16 came in post with sem mutex value = 0...67108421
pid = 16 came in post with sem empty value = 92...67108421
pid = 16 came in wait with sem full value = 0...67108421
pid = 16 goto sleep with sem full value = 0...67108421
pid = 15 wake up with sem mutex value = 1...67108421
pid = 15 wake out with sem mutex value = 0...67108421
pid = 15 came in post with sem mutex value = 0...67108421
pid = 15 came in post with sem empty value = 93...67108421
pid = 15 came in wait with sem full value = 0...67108421
pid = 15 goto sleep with sem full value = 0...67108421
pid = 13 wake up with sem mutex value = 1...67108421
pid = 13 wake out with sem mutex value = 0...67108421
pid = 13 came in post with sem mutex value = 0...67108421
pid = 13 came in post with sem empty value = 94...67108421
pid = 13 came in wait with sem full value = 0...67108421
pid = 13 goto sleep with sem full value = 0...67108421
pid = 12 wake up with sem mutex value = 1...67108421
pid = 12 wake out with sem mutex value = 0...67108421
pid = 12 came in post with sem mutex value = 0...67108421
pid = 12 came in post with sem empty value = 95...67108421
pid = 12 came in wait with sem full value = 0...67108421
pid = 12 goto sleep with sem full value = 0...67108421
pid = 10 wake up with sem mutex value = 1...67108421
pid = 10 wake out with sem mutex value = 0...67108421
pid = 10 came in post with sem mutex value = 0...67108421
pid = 10 came in post with sem empty value = 96...67108421
pid = 10 came in wait with sem full value = 0...67108421
pid = 10 goto sleep with sem full value = 0...67108421
pid = 14 wake up with sem mutex value = 1...67108421
pid = 14 wake out with sem mutex value = 0...67108421
pid = 14 came in post with sem mutex value = 0...67108421
pid = 14 came in post with sem empty value = 97...67108421
pid = 14 came in wait with sem full value = 0...67108421
pid = 14 goto sleep with sem full value = 0...67108421
pid = 11 wake up with sem mutex value = 1...16
pid = 11 wake out with sem mutex value = 0...16
pid = 11 came in post with sem mutex value = 0...16
pid = 11 came in post with sem empty value = 98...16
pid = 11 came in wait with sem full value = 0...16
pid = 11 goto sleep with sem full value = 0...16
pid = 19 wake up with sem mutex value = 1...4

可以得出,在一个进程没有结束的时候,另一个睡眠的进程连起来判断,再进入睡眠的机会都没有。


要始终记得,并行是虚拟的,串行才是真实的,时间片是很长的,不是那么轻易结束的。(至少在linux0.11下表现的相当明显)


&nbsp;


&nbsp;


总结下,我的while循环,由于一个进程的时间片用不完,才会出现一个劲的同一进程输出。


而felicitia的,自动睡眠,把机会留给其他进程,然后其他进程才醒。

你可能感兴趣的:(linux,struct,null,UP)