Part Number:MSP-EXP432P4111Other Parts Discussed in Thread:SYSBIOS
ti\sysbios\knl\Semaphore.h中ti_sysbios_knl_Semaphore_reset__E函数的定义为"xdc_Void ti_sysbios_knl_Semaphore_reset__E( ti_sysbios_knl_Semaphore_Handle __inst, xdc_Int count );"
该函数能够与ti\posix\ccs\semaphore.h中的sem_init、sem_wait、sem_post等混用吗?
它的作用是否是在运行时人为设定semaphore对象的计数?
可否在semaphore对象已经挂起时通过调用此函数解除相应task的blocking状态?
Annie Liu:
由于春节假期,为更加有效地解决您的问题,我们已经将您的问题发布在E2E英文技术论坛上,将由资深的工程师为您提供帮助。您也可以查看下帖关注进展:
https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1073451/msp-exp432p4111-what-is-the-role-of-the-ti_sysbios_knl_semaphore_reset__e-function