C-Thread-Pool icon indicating copy to clipboard operation
C-Thread-Pool copied to clipboard

Add example of passing struct to task function

Open morisja opened this issue 1 year ago • 1 comments

Thanks for the very useful library! I needed to pass more than a single integer to the task, this PR demonstrates passing a struct. I also updated gitignore to avoid committing the build artifact.

morisja avatar Mar 05 '23 13:03 morisja

thanks @morisja for this. However I think it's best to keep examples separated as to make it friendly for beginners and less overwhelming.

I suggest if you could move your example as a separate one into ./examples unless you have another suggestion

Pithikos avatar Dec 18 '23 14:12 Pithikos