Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
python: extend the bindings
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 31 Dec 2018 00:33:57 +0000 (01:33 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 31 Dec 2018 01:17:01 +0000 (02:17 +0100)
commit3a8a41d353f154422a95e78218a2496ab90ef471
tree003a3af462de33dd95dd0db727629e965f507c25
parent6f4dab453c997cfd6cb3cdff2c69a512370b11e8
python: extend the bindings

WORKING:

- Mailbox::put and Mailbox::get
- simgrid.Actor.create("name", Fafard, callable)
  (with callable being either a function or an object implementing __call__(self)
- simgrid.Actor.create("name", Fafard, callable, param1, param2)
  (with callable taking 2 parameters)
- e.register_function("name", fun)
  (with fun being a function taking a tuple parameter)

NOT WORKING
- e.register_function("name", class)
  (with class being a class name implementing __init__(self, *args))
docs/source/app_s4u.rst
src/bindings/python/simgrid_python.cpp