Search:

Type: Posts; User: jgs

Search: Search took 0.00 seconds.

  1. Thread: Mutex in C

    by jgs
    Replies
    4
    Views
    6,355

    Mutex in C

    Hello all,
    I'm having a problem locking a resource in a DLL. There are concurrent threads accessing my library, and I need to lock and set a global variable the moment the first thread...
  2. Thread: Doubly-Linked List

    by jgs
    Replies
    7
    Views
    3,013

    Yes, the user of the list library would need to...

    Yes, the user of the list library would need to implement a function or functions to get node data. The data within a peNode is represented as a void pointer (p_vElem). If a user wanted to use the...
  3. Thread: Doubly-Linked List

    by jgs
    Replies
    7
    Views
    3,013

    Thanks for the reply Quzah. The general...

    Thanks for the reply Quzah. The general questions I have are : Should I have function pointers in my peList struct that are to be initialized with createNode and deleteNode functions? Is this the...
  4. Thread: Doubly-Linked List

    by jgs
    Replies
    7
    Views
    3,013

    User-defined creatNode and deleteNode functions for a doubly-linked list

    I think I may have answered my own questions (see 1 and 2) regarding user-defined create and delete functions in a doubly-linked list. At first, I wasn't sure that I would need to include this...
  5. Thread: Doubly-Linked List

    by jgs
    Replies
    7
    Views
    3,013

    Thanks for the reply. I was hoping to write...

    Thanks for the reply. I was hoping to write something that could handle this type of misuse at runtime without killing the program. I guess I'm out of luck.

    Do you have any insight on the...
  6. Thread: Doubly-Linked List

    by jgs
    Replies
    7
    Views
    3,013

    Doubly-Linked List

    Hello all,

    Thank you in advance for your help and patience. I'm implementing a doubly-linked list in C, and I have some questions about freeing resources. Please forgive me if I get too...
Results 1 to 6 of 6