MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rm_init_flags

Function rm_init_flags

lib/ff_lock.c:218–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void
219rm_init_flags(struct rmlock *rm, const char *name, int opts)
220{
221 int liflags = 0;
222 if (!(opts & RM_NOWITNESS))
223 liflags |= LO_WITNESS;
224 if (opts & RM_RECURSE)
225 liflags |= LO_RECURSABLE;
226
227 lock_init(&rm->lock_object, &lock_class_rm, name, NULL, liflags);
228}
229
230void
231rm_sysinit(void *arg)

Callers 1

rm_initFunction · 0.70

Calls 1

lock_initFunction · 0.85

Tested by

no test coverage detected