Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Better fix for constness of argv in sg_actor_start/create.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 25 Mar 2021 08:56:29 +0000 (09:56 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 25 Mar 2021 09:04:39 +0000 (10:04 +0100)
commita3e3c75a39a2b73a07bcf209d6516791b80968bb
tree4faa389bb2253dc6f5162dae523b7f32aea9ce8b
parent6c1fdfa949304917158331410c2e91b0ca1b2e90
Better fix for constness of argv in sg_actor_start/create.

Define two variants of the functions and allow to write the examples
without cast romving const qualifier.
examples/c/actor-create/actor-create.c
examples/c/actor-migrate/actor-migrate.c
examples/c/cloud-capping/cloud-capping.c
examples/c/cloud-migration/cloud-migration.c
examples/c/cloud-simple/cloud-simple.c
examples/c/exec-waitany/exec-waitany.c
examples/c/synchro-semaphore/synchro-semaphore.c
include/simgrid/actor.h
src/s4u/s4u_Actor.cpp