Part Number: TI-15
Other Parts Discussed in Thread: CC1310
Environments: (1) MIPS Gateway run collector with TI-15-4-STACK-GATEWAY-LINUX-SDK_4.20.00.05 + CC1310 as CoP run with CC13X0-SDK_4_10_00_10. (2) LaunchPad CC1310 (CC13X0-SDK_4_10_00_10) or LaunchPad CC1312 (CC13X0-CC26X0-SDK_4_30_00_54)
Test cases: Client open socket and close socket intensively for OAD tasks in batch mode.
Results: (1) The collector will quit after some OAD tasks. (2) I found pthread_create return value 11.
Questions: I checked origin code in linux_specific.c file and found it pass NULL to the second argument of pthread_create API. Any reason to pass NULL? (2) I pass pthread_attr_t with PTHREAD_CREATE_DETACHED to the second argument and re-test above test cases become fine. Any impact for collector 15.4 state machine if I set all threads as detachable?
Peter.