×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    110

    Question How to pass and use extern variable in thread

    I am trying to declare and initialize one extern variable in my Main process . How to pass the data and use it into a thread declared within same heap space ?
    I tried using one instance variable of the class containing thread for the same purpose . But ironically the data is only visible in the main process scope and not in the thread scope .
    Please help .

  2. #2
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    Re: How to pass and use extern variable in thread

    Symbian && Android && iPhoneOS

Posting Permissions

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