• Correction on "structs as return values"
    From a previous thread: "How the compiler implements this facet {stucts as return values} of ANSI C is of no concern to me unless I'm worried about efficiency." Reply: Great, another wrong sweeping...
  • Correction on "structs as return values"
    From a previous thread: "How the compiler implements this facet {stucts as return values} of ANSI C is of no concern to me unless I'm worried about efficiency." Reply: Great, another wrong sweeping...
  • Function returning a struct
    Hi, How come the 51 compiler V7.04 cannot compile the following code? typedef struct { int i; } S; S jj(void) { S k; return(k); } S i(void) { return(jj()); } void main(void...
  • Function returning a struct
    Hi, How come the 51 compiler V7.04 cannot compile the following code? typedef struct { int i; } S; S jj(void) { S k; return(k); } S i(void) { return(jj()); } void main(void...
  • RTX51 Tiny problem: os_wait1() return value is 0.
    Hi, all, I got a problem about os_wait1() function. When my task 1 used os_wait1(0) to sleep forever, I wish task 1 will wake up by other task using os_set_ready(1) . It really does. But sometimes...