1. 函数定义如下,其中fn,cpyfn为函数名。
1 void 2 GOMP_task (void (*fn) (void *), void *data, void (*cpyfn) (void *, void *), 3 long arg_size, long arg_align, bool if_clause, unsigned flags, 4 void **depend, int priority_arg, void *detach) 5 {
2. 调用方式
1 cpyfn (arg, data); 2 fn (arg);
标签:函数,void,long,参数传递,名称,arg,cpyfn,fn From: https://www.cnblogs.com/cofludy/p/16855175.html