* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/function_types.h"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/function_types.h"
#include "portable.h" /* loads context system definitions */
#include "xbt/swag.h"
#include "xbt/xbt_os_thread.h"
#include "xbt_modinter.h" /* prototype of os thread module's init/exit in XBT */
#include "portable.h" /* loads context system definitions */
#include "xbt/swag.h"
#include "xbt/xbt_os_thread.h"
#include "xbt_modinter.h" /* prototype of os thread module's init/exit in XBT */
if (context->thread) {
/* wait about the thread terminason */
xbt_os_thread_join(context->thread, NULL);
if (context->thread) {
/* wait about the thread terminason */
xbt_os_thread_join(context->thread, NULL);