C Level callout thread