|
Turnstone Operating System
|
Future header. More...
Macros | |
| #define | ___FUTURE_H 0 |
| #define | future_create(l) |
| #define | future_create_with_data(l, d) |
Functions | |
| future_t * | future_create_with_heap_and_data (memory_heap_t *heap, lock_t *lock, void *data) |
| dummy method for efi for creating a future. | |
| void * | future_get_data_and_destroy (future_t *future) |
Future header.
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.
| #define future_create | ( | l | ) |
| #define future_create_with_data | ( | l, | |
| d ) |
| future_t * future_create_with_heap_and_data | ( | memory_heap_t * | heap, |
| lock_t * | lock, | ||
| void * | data ) |
dummy method for efi for creating a future.
this method is not required for efi however is required for linking. if data is not NULL then it is returned. otherwise 0xdeadbeaf is returned.
| heap | heap to allocate future on. (ignored) |
| lock | lock to use for future. (ignored) |
| data | data to store in future. |