industry news
Subscribe Now

Express Logic and IAR Launch Thread-Safe Library Support

San Diego, CA, August 3, 2010?Express Logic, Inc., the worldwide leader in royalty-free real-time operating systems (RTOS), today announced thread-safe library support for the IAR Embedded Workbench for ARM (EWARM). Thread-safe support protects applications by ensuring that only one thread has access to a function and its data at a time. Developers using Express Logic’s popular ThreadX® RTOS and IAR Embedded Workbench for ARM can use IAR’s DLIB C/C++ library functions in application threads without risk of interference from other threads’ use of the same functions.

In a multithreaded environment, application threads may be pre-empted at any time by higher-priority threads. When a pre-empted thread is in the middle of a DLIB library function, it may be interrupted without a chance to complete its use of the data relevant to that function. If the pre-empting thread happens to use the very same function, it might find some of that function’s data in the middle of an update by the pre-empted thread, creating the real possibility of error for both threads.

“Many of our customers desire the advanced RTOS services of ThreadX, but also must make use of DLIB functions in the same application threads,” said Lotta Frimanson, Product Manager at IAR Systems. “Now, Express Logic’s support for thread-safe library operation enables DLIB to be used in a multithreaded environment without risk of error from simultaneous multithreaded access.”

To prevent such errors, DLIB locks such vulnerable functions with a mutex, preventing more than one thread from using the function. Once that thread completes its use of the function, it returns the mutex, allowing another thread to gain access to the function. To implement this protection, each such function “gets” a mutex at the beginning of a function call and “puts” it back at the end. The mutex is a service provided by ThreadX, and is automatically used by the DLIB function as a result of this joint development by Express Logic and IAR.

“Achieving this joint solution extends the long-standing relationship Express Logic and IAR share in supporting customers with technology that contributes secure, robust solutions,” noted William E. Lamie, founder and CEO of Express Logic. “Now joint customers can safely use DLIB functions in a multithreaded environment, protected by ThreadX mutex objects that make certain that only one thread at a time has access to critical sections within these routines.”

About Express Logic and ThreadX

Headquartered in San Diego, CA, Express Logic offers the most advanced run-time solution for deeply embedded applications, including the popular ThreadX® RTOS, the high-performance NetX™ TCP/IP stack, the FileX™embedded MS-DOS compatible file system, and the USBX™ Host/Device USB protocol stack. All products from Express Logic include full source-code and have no run-time royalties. For more information about Express Logic solutions, please visit the Web site at www.expresslogic.com, call 1-888-THREADX, or email inquires to sales@expresslogic.com.

Leave a Reply

featured blogs
Sep 19, 2024
I just saw an awesome presidential debate remix video by David Scott (a.k.a. the Kiffness). I'd never heard of David before. I'll never forget him now....

featured paper

A game-changer for IP designers: design-stage verification

Sponsored by Siemens Digital Industries Software

In this new technical paper, you’ll gain valuable insights into how, by moving physical verification earlier in the IP design flow, you can locate and correct design errors sooner, reducing costs and getting complex designs to market faster. Dive into the challenges of hard, soft and custom IP creation, and learn how to run targeted, real-time or on-demand physical verification with precision, earlier in the layout process.

Read more

featured chalk talk

Designing for Functional Safety with Infineon Memory
Sponsored by Mouser Electronics and Infineon
In this episode of Chalk Talk, Amelia Dalton and Alex Bahm from Infineon investigate the benefits of Infineon’s SEMPER NOR Flash and how the reliability, long-term data retention, and functional safety compliance make this memory solution a great choice for a variety of mission critical applications. They also examine how SEMPER NOR Flash has been architected and designed for functional safety and how Infineon’s Solutions Hub can help you get started using SEMPER NOR Flash in your next design.
Apr 22, 2024
27,649 views