Does Tizen support C++11 std::thread for multithreading?

Original Created Jun 06, 2016 | Regeneration Apr 22, 2026

I'm attempting to use std::thread from the C++11 standard in my Tizen application, but I encountered the following errors:

launchpad.c:__send_result_to_caller(***)> error found when launching with XXX
launchpad.c:__send_result_to_caller(***)> The app process might be terminated while waiting XXX
launchpad.c:__send_result_to_caller(***)> process launched, but cmdline not changed

I couldn't find any official documentation confirming Tizen's support for std::thread. Does this mean that only ecore_thread_* functions and pthread can be used for creating multithreaded applications in Tizen?

Problem Understanding

The user is trying to implement multithreading in a Tizen native application using C++11's std::thread, but encountered runtime errors. The question seeks clarification on whether std::thread is supported in Tizen and what alternative threading options are available.

Solution Methods

  1. Threading Support in Tizen:

    • Tizen primarily supports C and HTML5 for application development
    • While Tizen does support C++ development, not all C++11 features are fully supported
    • The std::thread implementation may not be fully functional in Tizen's environment
  2. Recommended Alternatives:

    • Ecore_Thread: Tizen's native threading API specifically designed for Tizen applications
    • pthread: The POSIX thread library which is widely supported in Tizen

Code Examples

// Example using pthread
#include <pthread.h>

void* thread_function(void* arg) {
    // Thread logic here
    return NULL;
}

int main() {
    pthread_t thread_id;
    pthread_create(&thread_id, NULL, thread_function, NULL);
    pthread_join(thread_id, NULL);
    return 0;
}

Additional Tips

  • When developing native applications for Tizen, it's recommended to use the officially supported threading APIs (Ecore_Thread or pthread)
  • Always check the latest Tizen documentation for updates on C++ support
  • For better compatibility and performance, consider using Tizen's native APIs rather than standard C++ features

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.