/* context_java - implementation of context switching for java threads */
-/* Copyright (c) 2009, 2010, 2012. The SimGrid Team.
+/* Copyright (c) 2009-2010, 2012-2013. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
xbt_os_sem_acquire(context->begin);
//Create the "Process" object if needed.
if (context->super.argc > 0) {
- (*(context->super.code))(context->super.argc, context->super.argv);
+ context->super.code(context->super.argc, context->super.argv);
}
else {
smx_process_t process = SIMIX_process_self();