Results 1 to 3 of 3
  1. #1
    vb442 is offline Member
    Join Date
    Dec 2014
    Posts
    1
    Rep Power
    0

    Post how to display thread for particular time period amd than thread expires

    i need to display a file which would be accessed uptill a particular time period and after expiration it wont be accesed

  2. #2
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    1,989
    Rep Power
    8

    Default Re: how to display thread for particular time period amd than thread expires

    Who accesses what where? A Java program access the file until the OS deletes it? The OS needs to display a file until your Java program delets it? You need to give us some more to work with here.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

  3. #3
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: how to display thread for particular time period amd than thread expires

    Are you asking to control access to a file during a specific time period and then after the time period is over, deny access?

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

Similar Threads

  1. Running a thread for a fixed period of time
    By ronyb85 in forum Threads and Synchronization
    Replies: 5
    Last Post: 12-16-2010, 07:26 PM
  2. Time and Thread
    By bmvasakan in forum Threads and Synchronization
    Replies: 1
    Last Post: 09-19-2010, 04:51 PM
  3. need help with low priority thread to display time
    By vkokaram in forum New To Java
    Replies: 6
    Last Post: 07-19-2010, 01:10 AM
  4. how to reduce the thread sleep time and wake up the thread
    By baktha.thalapathy in forum Threads and Synchronization
    Replies: 2
    Last Post: 06-24-2010, 07:36 PM

Posting Permissions

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