Does the Timer() function support multithread?

Hello,
In my application, there would be more than 1000 conversations to be monitored. I am going to design a woker thread for each conversation to determine the timeout of the communication, so I must using the timer mechanism. Due to just can create (max )16 async timers, so I want to use Timer() in the worker thread. I'd like to know if the function support multithread and if it will not be disturbed in a thread?
David

Hi David,
The 'timer' used by the Timer() function is global and not thread specific. Note that Timer() returns the number of seconds elapsed since the FIRST call to the Timer() function. This is independent of the thread where the FIRST and current calls take place. So, the values returned are kind of a global 'time' since the first Timer() call in your program. I would recommend that you FIRST call Timer() in your main thread before running your other threads and then the other values returned in any thread are the 'seconds' since this call.

Similar Messages

  • Does the makeRequest() function support oauth?

    Hey there,
    I want to use the makeRequest() function with oauth as authorization type. But unfortunately there are no information about the supported authorization types.
    I found a documentation of an open source projekt, which implements a makeRequest() function too. It has the same signature and they use the same structure of parameters including oauth support. So I tried to use this with Streamwork, but it didn't work (at least there is no constant "com.streamwork.io.AuthorizationType.OAUTH").
    Therefore my question ist does Streamwork support oauth for the makeRequest()-function?
    Thanks
    Hendrik

    Its correct to say that we don't have native OAuth support currently. Its on our roadmap.
    I have successfully connected to a 3Legged OAuth type service once when I was doing some POC to connect to Box.net's web service.
    I think what you are looking for is the equivelant of the OpenSocial makeRequest which we don't currently have.
    Can you share your usecase so I can properly prioritize your request?

  • I am looking for an app that can unmute my iphone after a preset time, eg 1 or 2 hours. Does anybody know an app with this feature?? The apps I have found are linked to a calendar or a place, I just need the timer function..

    I am looking for an app that can unmute my iphone after a preset time, eg 1 or 2 hours. Does anybody know an app with this feature?? The apps I have found are linked to a calendar or a place, I just need the timer function..

    thanks. yes i am aware of the VoiceOver feature but it is NOT the solution to my problem. as you said, it is a solution to a different set of issues. i want the text to speech ability because i there are books i need to read but do not have the time to sit down and read them and have become used to listening to them read to me either by a professional human reader or with the text to speech software on the Kindle.
    I think Apple makes the best audio devices but i am really disappointed in this inexplainable shortcoming. if apple can give us siri they ought to be able to design a nice little button that i can push to turn on text to speech while i am in a document, book, magazine or webpage. clearly it is possible as apple has added the "reader" button in safari to have web pages dropped into the reader format.
    thanks for your suggestion though, it is what everyone suggests but it does not address the issue.

  • Does the 6600GT-VTD128 support video capture?

    Hi,
    I recently purchased an MSI 6600GT-VTD128 video card.  The product information seems to suggest that the card has video input capabilities, and there is an adapter that plugs into the card that has a number of connections, one of which is labeled S-Video in.  However, I haven't been able to get any video capture to work.
    Does the card actually support this functionality?  If not, what are the video input connections for?  If so, is there some documentation as to how to set it up?  
    So far, I tried installing the video capture drivers that come with the card.  I checked the manual.  I checked the MSI web site FAQs.  And I searched the forums.
    Any help would be greatly appreciated.
    Thanks,
    Daniel

    Thanks Richard.  Yes I do have a breakout cable like that.  Actually, I described it in my original message.  So, I am guessing from your message that you believe that the card should have the capability to capture video.  
    In my original message, I asked if there was any documentation on setting up the card for video capture.  The manual does not describe the procedure, nor does the MSI web site.  
    There are drivers on the CD that claim to be for video capture, but they had no effect when I installed them.  In fact, there appears to be no way to tell whether the drivers were actually installed successfully.
    If anyone out there has successfully used this card for video capture, please let me know.

  • Does the mozilla OS support sony xperia tipo(single sim)?

    Does the mozilla OS support sony xperia Tipo(single sim) ?
    If yes how would i be able to install it in my mobile phone and will it function properly and smoothly ?

    You can get start from here:
    *https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Porting
    *https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Preparing_for_your_first_B2G_build
    *https://wiki.mozilla.org/B2G/Porting
    btw, This is support forum, we dont handle this type of question, however you can ask porting related help at b2g mailing list or [https://www.mibbit.com/?server=irc.mozilla.org&channel=%23b2g irc channel].
    *[email protected]
    *irc://irc.mozilla.org/b2g

  • In Mac's PAINTR application, what exactly does the "Splash" function do?

    n Mac's PAINTR application, what exactly does the "Splash" function do?

    You might also post your question over in the Mac App Store section of the Community, where you might have a better chance of running into someone else using the Paintr App.
    Mac App Store: Apple Support Communities
    Dennis

  • Does the bluetooth function work with the scanner function on my Photosmart C5550?

    I have a new Dell computer and an HP Photosmart C5550.  I use bluetooth to connect to the print. The printer function works correctly but the computer does not recognize the scanner function. Does the scanner function work with bluetooth?
    This question was solved.
    View Solution.

    Sorry. I hit post before I could elaborate. Not sure what I was thinking. The Bluetooth connection will only support printing. To use the scan feature you will need to connect the printer using a USB or network connection. Hope that explains it a bit better.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Re: In Mac's PAINTR application, what exactly does the "Splash" function do?

    In Mac's PAINTR application, what exactly does the "Splash" function do?  It isn't mentioned in the Toolbox Documentation, but the "Splash" option is given right next to the "Draw" option at the top of the screen in the application itself.

    You might also post your question over in the Mac App Store section of the Community, where you might have a better chance of running into someone else using the Paintr App.
    Mac App Store: Apple Support Communities
    Dennis

  • On the new time capsule a/c, if you lay the device on its side does it change its signal strength in any way? Does the time capsule have to stand up-right all the time?

    On the new time capsule a/c, does the time capsule have to remain up-right? Can the time capsule lay on it's side and still function?
    Thanks

    Please remember that the Time Capsule's antennas are up at the top of the device, and have been designed to work best in that position.
    In addition, the air flow pattern to help cool the internal electronics has been designed to work best with the Time Capsule in a upright position.
    When I lay the Time Capsule down for 30 minutes, it is noticeably warmer. I can't tell if wireless is affected that much since my home is not that big.
    You could try laying the Time Capsule down, but my recommendation would be that you do not do this. You may get a different opinion from another user, so stay tuned.

  • How does the Delta functionality works while updating Infocube from PA

    Hi Gurus
    How does the Delta functionality works when you send forecast to the Info cube from the Planning Area.
    As I have weekly based planning, every week we have to update the forecast into the Cube. If I update  every week into the Cube , then the values are going to append  in the Info cube.
    Shall I create ODS in between the Planning area  and the Info cube .
    (or)
    Any other method ?
    Please Suggest.

    Hi Preetham,
    Data Extraction from planning area to infocube usually its supports for full update only, when u r going to load the data from planning area to cube ,it deletes the previous data and u vil get the fresh data, this is the best method performance wise,
    if u want to use the delta functionality u can go for planning area to Dso, Dso to cube, it vil supports the delta functionality, but it vil degrades the system performance,
    regards
    ravi

  • Does the Airport Extreme support HP cp1025?  There are two versions of the printer the cp1025 and cp1025nw.  I have the cp1025, and can't set it up. Is there a list of AE/bonjour supported printers?

    Does the Airport Extreme support HP cp1025?  There are two versions of the printer the cp1025 and cp1025nw.  I have the cp1025, and can't set it up.
    Is there a list of AE/bonjour supported printers?

    Bonjour is a transport protocol. It also provides a means of advertising a printer on a network.
    Any list that shows printers that support Bonjour is generally an indication that the printer itself supports this protocol, meaning that when it is connected to the network, you can see it in your default Add Printer browser. In the case of the Airport, it also supports the Bonjour protocol and will advertise any printer that is connected to its USB port. The printer itself does not have to support Bonjour. The Airport performs this function. And like many lists, they are not kept up to date because each vendor releases several new models every quarter or half year.
    There are definitely printers that don't work when connected to the USB port of the Airport. And this is more that the printer driver does not support this type of connection, mainly due to the port not supporting bidirectional communications which some printer drivers require. The Canon UFR2 and CAPT drivers are a good example of this limitation. But this is only the Mac drivers. The Windows equivalent drivers work fine when the printer is connected to the USB port.
    So with you having an issue with the Windows drivers then I don't think it is a case of them not supporting Bonjour but more to do with some other component not functioning when the printer is shared by the Airport. The error message appears to have more to do with local user rights which is probably driver related. I've seen some printers that you cannot use the Windows Add Printer wizard to add them. Instead you have to use the vendors utility because of some proprietary protocol being used. Maybe this is one of those?
    Now that you seen how it should work based on when you used the C3188, if you still get that error message at point 6 of adding the C1025 then it would suggest a driver compatibility issue with the Airport - which is not necessarily a Bonjour compatibility issue. So unless there was another model of HP printer driver that you could use to this C1025 and that was also compatible with the USB port of the Airport Extreme, then I would suggest your best action is to replace the printer with a model that does work. Maybe even one that has builtin wireless so you don't have to use the USB port of the Airport.

  • How will the Time Capsule support IPv6 and coop with the new emerging security threats that will emerge due to the new technical possibilities that IPv6 provide?

    How will the Time Capsule support IPv6 and coop with the new emerging security threats that will emerge due to the new technical possibilities that IPv6 provide?

    Cross your fingers and hope.
    Obviously if there is any big or known threat Apple will send out a firmware fix.
    But the TC is designed to be end user simple device. It has no firewall that is visible at any rate. I don't know that it truly doesn't have a firewall but it is not part of the end user controls.
    IMO if you have major security concerns that go beyond end device firewall, which is where Apple do put most of the security, since firewall in the router is plainly not a stop to anybody deliberately downloading an infected file or website, and most end users.. do not want a firewall that prevents them using the web like a business does, where only certain ports are allowed. Everything else tough luck.. you are not allowed to use it. Then TC is unsuitable for you anyway.. buy a proper firewall appliance.

  • How does the sync functionality work with large libraries on small devices?

    How does the sync functionality work with large libraries?
    Say I sync 100gb of photos with the new Photos app and turn on sync on a 16gb iphone. Will it fill the device up to 16gb? Can I tell it to limit to xgb so I leave room for music and apps? How does this work? Will it slow down my phone if its trying to sync 100gb across smaller devices?

    "Will the Apple TV now read directly from the Time Capsule?" ATV does not 'read' from the TC. It connects to the Mac and itunes library associated with the Mac. Of course the itunes program can 'point' to a library on the TC. You'll still need to have itunes open and the Mac powered on and not sleeping with the TC mounted to the Desktop to use ATV properly. So bottom line the use of TC just adds one more step to view files on the ATV.

  • Does the cannon mx410 support ipad printing of notes from the notepad

    Does the cannon mx401 support iPad (Via wi-fi) printing from the notepad area?????
    I need help getting mine to operate..
    .thnx
    . Bea

    According to the link below that printer doesn't support Airprint.
    See requirements for AirPrint and printers that support AirPrint here:
    http://support.apple.com/kb/ht4356
    You may be able to print some content using a printing App from the App Store. See Print n Share, etc.

  • Does the macbook pro supports the logitech gamepad 510/710? I't doesn't recognize it

    Does the macbook pro supports the logitech gamepad 510/710? I't doesn't recognize it.
    Is for playing to the FIFA 2012 for Mac

    juliafrancine wrote:
    I've tried looking for the install cd for it but I can't find it, now I'm starting to wonder if it even had one.
    No.  10.7 never came one a disk.  Read this:
    Restoring iLife applications after Internet Restore of OS X Lion
    If you reinstall Lion on a new Mac that shipped with OS X Lion installed, on an erased or replaced hard drive, you can download iPhoto, iMovie, and GarageBand from the Mac App Store.
    After installation, start from Lion.
    Double-click the App Store icon in the dock.
    Enter your Apple ID and password.
    Click Purchases.
    If you haven't previously accepted your bundled iLife applications within the Mac App Store, you should see your iLife applications appear in the Accept portion of the screen. Click Accept.
    You may be asked for your Apple ID and password once again. Your iLife applications now move to the Purchased section. These applications are part of the software that came with your Lion based computer. Your account will not be charged for them. Click Install to compete installation of your applications.
    http://support.apple.com/kb/HT4718

Maybe you are looking for

  • PubSec Digital signatures in Acrobat 9

    Hi, i m developing a digital signature plug-in, PubSec, to be specific. My plugin will, hopefully, digitally sign open pdf, and also able to verify them. The signature i am creating will be standard so that any other plugin, including Acrobat's own,

  • Apps not showing in Itunes

    I recently did a fresh install of windows vista, and put all of my files back into itunes. All of my music is now there but my apps seem to be missing. I have added a folder called "mobile applications" into [username]>music>Itunes but still the apps

  • The resolution of indesign is low (of the program itself)

    1920x1080 is the resolution of my screen. It seems only indesign is in low resolution. Ilustrator just functions normally.  (the low reslution is not very clear on the screen-shot unfortunately) Also when the program launches the loading icon of Inde

  • Problems with the warranty. I feel disappointed with apple

    I didn't find where to write my question, so i thought this could be best place to do it. My case: I bought (through the web) an Ipod Video 30Gb on march 06. After several months of normal (and correct) usage of it, i began to notice a decrease of th

  • Doubt if Xperia Z3 is shockproof

     Hello, guys, I just wanted to know if Xperia Z3 is shockproof. Mine one is the Dual version. I was wondering if just the glass screen protector is enough or I would have to use those phones cases. Thanks in advance.