Click here to Skip to main content
14,607,949 members

C / C++ / MFC

 
GeneralRe: Develop VC++ for IPad Pin
_Flaviu16-Jul-20 0:56
Member_Flaviu16-Jul-20 0:56 
GeneralRe: Develop VC++ for IPad Pin
Richard MacCutchan16-Jul-20 1:37
mveRichard MacCutchan16-Jul-20 1:37 
QuestionFFMPEG encrypt & decrypt Video offline Pin
DARA ALAVI13-Jul-20 21:50
MemberDARA ALAVI13-Jul-20 21:50 
AnswerRe: FFMPEG encrypt & decrypt Video offline Pin
Victor Nijegorodov13-Jul-20 21:55
MemberVictor Nijegorodov13-Jul-20 21:55 
GeneralRe: FFMPEG encrypt & decrypt Video offline Pin
DARA ALAVI13-Jul-20 22:09
MemberDARA ALAVI13-Jul-20 22:09 
GeneralRe: FFMPEG encrypt & decrypt Video offline Pin
Victor Nijegorodov13-Jul-20 22:23
MemberVictor Nijegorodov13-Jul-20 22:23 
GeneralRe: FFMPEG encrypt & decrypt Video offline Pin
DARA ALAVI13-Jul-20 22:38
MemberDARA ALAVI13-Jul-20 22:38 
QuestionDoes FreeRTOS have built-in support for queues that can hold variable sized elements? Pin
arnold_w12-Jul-20 10:06
Memberarnold_w12-Jul-20 10:06 
I need to debug some code executing on top of FreeRTOS that runs on an embedded ARM processor and I have no knowledge of FreeRTOS and I was hoping someone here could please help me. Image there are two threads in the entire code, one high-priority communication bus driver and one low-priority application thread. Whenever the application wants to write, it queues a struct onto a queue and when the communication driver sees that there is a struct in the queue, it pulls the struct out and starts writing over the communication bus according to the instructions in the struct. Now, let's assume the application first wants to write 1 byte and then shortly thereafter wants to write 2 bytes and the bytes to write are located on the stack and NOT in static variables/arrays. What the recommended way to handle this? Clearly the 2nd struct would be 1 byte larger than the 1st struct, but they both need to go into the same queue.

modified 12-Jul-20 16:14pm.

AnswerRe: Does FreeRTOS have built-in support for queues that can hold variable sized elements? Pin
Richard MacCutchan12-Jul-20 21:14
mveRichard MacCutchan12-Jul-20 21:14 
AnswerRe: Does FreeRTOS have built-in support for queues that can hold variable sized elements? Pin
leon de boer21-Jul-20 19:32
Memberleon de boer21-Jul-20 19:32 
QuestionWhat's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
arnold_w10-Jul-20 1:28
Memberarnold_w10-Jul-20 1:28 
AnswerRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
Josh Gray210-Jul-20 3:30
MemberJosh Gray210-Jul-20 3:30 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
arnold_w10-Jul-20 11:19
Memberarnold_w10-Jul-20 11:19 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
k505410-Jul-20 11:52
mvek505410-Jul-20 11:52 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
Richard MacCutchan10-Jul-20 22:05
mveRichard MacCutchan10-Jul-20 22:05 
AnswerRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
CPallini12-Jul-20 20:33
mveCPallini12-Jul-20 20:33 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
arnold_w12-Jul-20 23:52
Memberarnold_w12-Jul-20 23:52 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
Richard MacCutchan13-Jul-20 2:00
mveRichard MacCutchan13-Jul-20 2:00 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
arnold_w13-Jul-20 3:53
Memberarnold_w13-Jul-20 3:53 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
Richard MacCutchan13-Jul-20 4:29
mveRichard MacCutchan13-Jul-20 4:29 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
arnold_w4-Aug-20 5:21
Memberarnold_w4-Aug-20 5:21 
Questionuse argv while debugging Pin
chipp_zanuff4-Jul-20 20:08
Memberchipp_zanuff4-Jul-20 20:08 
AnswerRe: use argv while debugging Pin
Richard MacCutchan4-Jul-20 21:09
mveRichard MacCutchan4-Jul-20 21:09 
GeneralRe: use argv while debugging Pin
chipp_zanuff4-Jul-20 22:15
Memberchipp_zanuff4-Jul-20 22:15 
GeneralRe: use argv while debugging Pin
Richard MacCutchan4-Jul-20 22:19
mveRichard MacCutchan4-Jul-20 22:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.