diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2010-12-31 16:02:19 +0100 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2010-12-31 16:02:19 +0100 |
| commit | 43d16388f5ab5ec87f2373f10ae9a648c3464c3b (patch) | |
| tree | 555935dadaa9c96138af5126dcc0a62ba83e1248 /aufgabe3/conv.c | |
| parent | 6af0f110bbd879fe4c49c2ebd64715a6e692e7c0 (diff) | |
| download | prozesskommunikation-43d16388f5ab5ec87f2373f10ae9a648c3464c3b.tar.gz prozesskommunikation-43d16388f5ab5ec87f2373f10ae9a648c3464c3b.tar.bz2 | |
Aufgabe3: Erstellung der Message Queue implementiert.
Diffstat (limited to 'aufgabe3/conv.c')
| -rw-r--r-- | aufgabe3/conv.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/aufgabe3/conv.c b/aufgabe3/conv.c index efa8200..35b7d33 100644 --- a/aufgabe3/conv.c +++ b/aufgabe3/conv.c @@ -1,14 +1,20 @@ /* * vim:ts=4:sw=4:expandtab - * + * */ #include <stdlib.h> #include <stdio.h> #include <unistd.h> +#include "queue.h" + void conv() { - printf("conv started\n"); + int random_number = 0; + + sprintf(stderr, "conv() was started"); + for (;;) { + rand(); } } |
