Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 1079|Reply: 0

Multithreading

[Copy link]

7

Threads

19

Posts

209

Credits

Intermediate member

Rank: 3Rank: 3

Credits
209
Post time 2016-7-24 09:14:26 | Show all posts |Read mode
I'm trying another of Gordon's wiringPi innovations, multithreading, but I'm dead before doing anything.
int piThreadCreate (name) ;
Gcc objects to this line with the warning: parameter names without types in function declaration.
At the moment, to debug this problem, all other multithreading code is commented out.

My function prototype comes straight from Gordon:
https://projects.drogon.net/raspberry-pi/wiringpi/functions/
so, either Gordon's code has a bug, or I should be doing something else.
Any ideas?
As I get further into multithreading, I will no doubt have more sophistocated problems.
Thanks,

You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-12-12 09:57 GMT+8 , Processed in 0.029932 second(s), 23 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list