Multithreading question (for Don?)

NikolaiNikolai Registered Users Posts: 19,035 Major grins
I'm about to make SE (smugmug explorer) multithreaded. I'm thinking of having one thread for "administrative" calls (login. get info, etc) and two for the upload (per your recommendation, to improve upload performance).
My question is: can I use the same session ID for all the threads, or they have to be different?
Thanks!
"May the f/stop be with you!"

Comments

  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited February 4, 2005
    Bump for Onethumb
    Nikolai wrote:
    I'm about to make SE (smugmug explorer) multithreaded. I'm thinking of having one thread for "administrative" calls (login. get info, etc) and two for the upload (per your recommendation, to improve upload performance).
    My question is: can I use the same session ID for all the threads, or they have to be different?
    Thanks!
    Don, any hints?
    Thanks!
    "May the f/stop be with you!"
  • onethumbonethumb Administrators Posts: 1,269 Major grins
    edited February 5, 2005
    Nikolai wrote:
    I'm about to make SE (smugmug explorer) multithreaded. I'm thinking of having one thread for "administrative" calls (login. get info, etc) and two for the upload (per your recommendation, to improve upload performance).
    My question is: can I use the same session ID for all the threads, or they have to be different?
    Thanks!

    Same SessionID should work fine with simultaneous calls.

    Don
  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited February 5, 2005
    Thanks, Don!
    onethumb wrote:
    Same SessionID should work fine with simultaneous calls.

    Don
    Appreciate your time:-)
    Cheers!1drink.gif
    "May the f/stop be with you!"
Sign In or Register to comment.