看板
[ java ]
討論串[問題] 利用Thread呼叫JNotify無反應
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
這段碼並沒有符合你描述的做法,假如 JNotify.addWatch 不是 blocking 操作,. 那麼那個 while loop 一下子就跳離了(由於 thread 原本就不是在 interrupted. 狀態)。. 我想你的意思應該是. public void run() {. int wa
(還有481個字)
內容預覽:
各位版友好,我目前想用JNotify套件來監聽文件夾檔案更動,. 官方網站在此http://jnotify.sourceforge.net/. 原本由main方法呼叫JNotify.addWatch(strDir,intMask,booWatchSubtree,Listener);. 但由於特定因素
(還有817個字)
首頁
上一頁
1
下一頁
尾頁