Search Results

Search found 2 results on 1 pages for 'megacan'.

Page 1/1 | 1 

  • UNO-1019 development on Visual Studio 2008

    - by Megacan
    Hi, I'm trying to set up my developing environment using Visual Studio 2008 to develop for the UNO-1019. I managed to connect the UNO to VS for deployment and debug using the ethernet connection. I installed the SDK for EVC++ available on the products page and I was wondering if I can use that sdk on visual studio 2008.I'm rather new with this and I's kind of lost. Thanks in advance

    Read the article

  • Lock a mutex multiple times in the same thread

    - by Megacan
    Hi, I'm developing an application on an embedded linux OS (uClinux) and I need to be able to lock the mutex more than once (by the same thread). I have a mutex and a mutexattr defined and initialized as follows: pthread_mutexattr_t waiting_barcode_mutexattr; pthread_mutex_t waiting_barcode_mutex; pthread_mutexattr_init(&waiting_barcode_mutexattr); pthread_mutexattr_settype(&waiting_barcode_mutexattr, PTHREAD_MUTEX_RECURSIVE); pthread_mutex_init(&waiting_barcode_mutex, &waiting_barcode_mutexattr); But when I try to acquire the lock twice it blocks on the second lock: pthread_mutex_lock(&waiting_barcode_mutex); pthread_mutex_lock(&waiting_barcode_mutex); Am I initializing it wrong or is there a better way of accomplishing the same? Thanks in advance.

    Read the article

1