27 lines
304 B
C
27 lines
304 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
#include <sys/shm.h>
|
|
#include "dijkstra.h"
|
|
#include "commun.h"
|
|
|
|
void t1()
|
|
{
|
|
puts("t1");
|
|
sleep(10);
|
|
puts("end t1");
|
|
}
|
|
|
|
void t2()
|
|
{
|
|
puts("t2");
|
|
sleep(2);
|
|
puts("end t2");
|
|
}
|
|
|
|
int main () {
|
|
t1();
|
|
t2();
|
|
return 0;
|
|
}
|