This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SL_PLATFORM_MULTI_THREADED 这个宏定义 系统自动打开的吗?



你好

SL_PLATFORM_MULTI_THREADED 这个宏定义是系统自动打开的吗

系统处于多线程的情况下 就会打开?

看到别 的帖子说 getting_started_with_wlan_station  里面这个定义是打开的 可是 运行过程中  发现没有打开啊

  • The SimpleLink Wi-Fi host driver can run on multithreaded environment (OS), as well as a non-OS

    environment. This step is not required if the host application is based on a non-OS environment.

    To enable the multithreaded environment, the macro SL_PLATFORM_MULTI_THREADED must be

    defined. For example:

    #define SL_PLATFORM_MULTI_THREADED

    The OS adaptation layer consists of two major objects:

    • Sync objects – To allow synchronization between threads

    • Locking objects – To protect access to resources from different threads

    SL_PLATFORM_MULTI_THREADED 默认打开: