Community Forums Today's Posts     Member List     Archive    
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2011
    Posts
    4

    SDK & multithreading

    Do callbacks lock the entire application when they are called?

  2. #2
    Join Date
    Jul 2002
    Location
    Germany
    Posts
    2,836
    Hi,

    no the callbacks do not lock the entire TS3 SDK component while they are being called, but you can assume weird/bad things to happen if you do not take care about callback runtime. Make sure you handle everything quickly (no sleeping, io or so), and return from the callback as not to disrupt the functioning of the TS3 SDK.
    You think my answer is stupid ? Read This:
    http://www.catb.org/~esr/faqs/smart-...ons.html#intro

    In a world without fences and walls - who needs windows and gates ?

  3. #3
    Join Date
    Dec 2011
    Posts
    4
    so I can use function as ts3client_flushChannelCreation(scHandlerID, parentChannelID) in one of my application's threads, also if that thread didn't called ts3server_createVirtualServer, right?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •