/* context_thread - implementation of context switching with native threads */
-/* Copyright (c) 2009, 2010. The SimGrid Team.
+/* Copyright (c) 2009-2012. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
if (code) {
context->begin = xbt_os_sem_init(0);
context->end = xbt_os_sem_init(0);
- if(smx_context_stack_size_was_set)xbt_os_thread_setstacksize(smx_context_stack_size);
+ if (smx_context_stack_size_was_set)
+ xbt_os_thread_setstacksize(smx_context_stack_size);
/* create and start the process */
/* NOTE: The first argument to xbt_os_thread_create used to be the process *