Kranc icon indicating copy to clipboard operation
Kranc copied to clipboard

Allow additional, arbitrary startup routines

Open eschnett opened this issue 15 years ago • 2 comments

This would be used to register the "slicing condition" with CoordGauge.

eschnett avatar Mar 19 '10 02:03 eschnett

How would such a feature work? Would you specify a string to Kranc which was the verbatim C-code to call in a startup function? Maybe we need a generic hook mechanism.

ianhinder avatar Jul 13 '10 07:07 ianhinder

Maybe you can supply the name of a .c file which should be added to the thorn, and allow functions from this to be scheduled. This would allow you to custom-write any code that you needed; the only limitation would be that the code had to be called as a scheduled function.

ianhinder avatar Jul 13 '10 07:07 ianhinder