Skip to content

Interface definition for threading #27

Description

@AndrewFalanga

The threading interface header requires the following:

struct _NpmThread {
    void *id;
    int Reap(void);
    int Prune(void);
};

typedef _NpmThread NpmThread;

NpmThread* Sow(void (*entry)(void *),
               void *args,
               uint32_t argLen);
void Cleanup(NpmThread** th);
  • Doxygen comments
  • GTest for the interface

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions