Mercurial > repos > rhope
view runtime/worker.h @ 139:a68e6828d896
Global stores and transactions are working. Definately leaks memory on retries. Probably a fair number of bugs to work out. However, a basic test program works.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 19 Nov 2010 04:04:14 -0500 |
parents | 7428aa5d6ade |
children |
line wrap: on
line source
#ifndef _WORKER_H_ #define _WORKER_H_ #include "object.h" #include "func.h" #include "builtin.h" object * _internal_worker_alloc(int16_t size); void _internal_worker_setinput(object * worker, int16_t num, object * val); object * _internal_worker_getinput(object * worker, int16_t num); int32_t _internal_worker_hasinput(object * worker, int16_t num); void internalworkercopy(object * obj); void internalworkercleanup(object * obj); #endif //_WORKER_H_