Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
376 views
in Technique[技术] by (71.8m points)

rtos - what is v and x means in freeRTOS task creating or used in it?

what does mean x and v in task creating or managing of free RTOS? xTaskcreate or vTaskcreate?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The leading character(s) of the FreeRTOS functions identify the return type of the function. Functions that start with "v" return void. Functions that start with "x" typically return a result code or handle. See the Naming Conventions page of the FreeRTOS coding standard.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.9k users

...