* for the user contexts.
*
* This function should be called before initializing SIMIX.
* A value of 1 means no parallelism (1 thread only).
* If the value is greater than 1, the thread support must be enabled.
*
* for the user contexts.
*
* This function should be called before initializing SIMIX.
* A value of 1 means no parallelism (1 thread only).
* If the value is greater than 1, the thread support must be enabled.
*
*
* If the number of threads is set to 1, there is no parallelism and this
* threshold has no effect.
*
*
* If the number of threads is set to 1, there is no parallelism and this
* threshold has no effect.
*
* this threshold, they are run in parallel
*/
int SIMIX_context_get_parallel_threshold() {
* this threshold, they are run in parallel
*/
int SIMIX_context_get_parallel_threshold() {
*
* If the number of threads is set to 1, there is no parallelism and this
* threshold has no effect.
*
*
* If the number of threads is set to 1, there is no parallelism and this
* threshold has no effect.
*
* this threshold, they are run in parallel
*/
void SIMIX_context_set_parallel_threshold(int threshold) {
* this threshold, they are run in parallel
*/
void SIMIX_context_set_parallel_threshold(int threshold) {
*/
void SIMIX_context_set_parallel_mode(e_xbt_parmap_mode_t mode) {
smx_parallel_synchronization_mode = mode;
}
/**
*/
void SIMIX_context_set_parallel_mode(e_xbt_parmap_mode_t mode) {
smx_parallel_synchronization_mode = mode;
}
/**
- * \brief Returns the current context of this thread.
- * \return the current context of this thread
+ * @brief Returns the current context of this thread.
+ * @return the current context of this thread