Home Help Center

why is there only have one message print out?

ren-weiren-wei Member wei renOrganization: Hainan AirlineProject: support external system connect ticketsalesystem
hello ,I use a demo to test the java thread performance.In my client, i start 100 thread to send a structure which is definded in slice. I circulate the to send the structure 100 000,when the thread was execute completely I would print out a prompt message,but the program only print out one message ,when i change the thread to 2,the message print out twice ,and change to 3,the message also only print once.why?

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    It's not clear from description what component prints out the message... Is it the server or the client threads? The best would be to package your simple demo in a zip file and post it here on the forum so that we can have a quick look at it.

    Cheers,
    Benoit.
  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Perhaps this FAQ may be relevant.
  • ren-weiren-wei Member wei renOrganization: Hainan AirlineProject: support external system connect ticketsalesystem
    thanks ,i find the problem
Sign In or Register to comment.