]> rtime.felk.cvut.cz Git - frescor/frsh.git/commit
Added "late" registration of allocators
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 10 Dec 2008 21:17:35 +0000 (22:17 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 10 Dec 2008 21:17:35 +0000 (22:17 +0100)
commit6789445b242befee20c99712cbc1f4d6a8fdc856
tree297f3223c8993966a9e03b3210b19e83055157f8
parentb0492891383a9aeb03ae11d436d3203ff50dcd06
Added "late" registration of allocators

Thank to this, it is not required to run managers for all compiled-in
resources, but only those which are really needed by the applications.

The allocator is registered to the contract broker just before the first
contract for a given resource is negotiated.
12 files changed:
fres/resalloc/Makefile.omk
fres/resalloc/fra_generic.c
fres/resalloc/fra_generic.h
fres/resalloc/fra_registry.c [new file with mode: 0644]
frsh_api/frsh_contract.c
frsh_api/frsh_core.c
resources/cpu_aquosa/lib/aqcpu_fra.c
resources/cpu_aquosa/lib/aqcpu_res.h
resources/dummy/fra_dummy.c
resources/dummy/res_dummy.h
resources/item/fra_item.c
resources/item/item.h