2 * Copyright 2009, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
24 main(int argc
, char** argv
)
26 thread_id thread
= spawn_thread(&abort_thread
, "abort test",
27 B_NORMAL_PRIORITY
, NULL
);
28 resume_thread(thread
);
30 status_t status
= wait_for_thread(thread
, NULL
);
31 fprintf(stderr
, "abort thread aborted: %s\n", strerror(status
));
34 fprintf(stderr
, "main exiting\n");