Socket and file locks

2009-11-24 Thread Thomas Mueller
Hi, > > > shouldn't active code like that live in the application layer? > > Why? > You can all but guarantee that polling will work at the app layer The application layer may also run with low priority. In operating systems, it's usually the lower layer that have more 'rights' (priority), and no

Fwd: Socket and file locks

2009-11-27 Thread Thomas Mueller
Hi, I'm wondering if your are interested in automatically releasing the write lock. See also my comments on https://issues.apache.org/jira/browse/LUCENE-1877 - I thought it's a problem worth solving, because it's also in the Lucene FAQ list at http://wiki.apache.org/lucene-java/LuceneFAQ#What_is_t

[jira] Commented: (LUCENE-1877) Use NativeFSLockFactory as default for new API (direct ctors & FSDir.open)

2009-11-20 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780540#action_12780540 ] Thomas Mueller commented on LUCENE-1877: FYI: other Java projects also imple

[jira] Commented: (LUCENE-1877) Use NativeFSLockFactory as default for new API (direct ctors & FSDir.open)

2009-11-22 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1278#action_1278 ] Thomas Mueller commented on LUCENE-1877: > take it somewhere other th

[jira] Commented: (LUCENE-1877) Use NativeFSLockFactory as default for new API (direct ctors & FSDir.open)

2009-11-22 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781113#action_12781113 ] Thomas Mueller commented on LUCENE-1877: > detect the wakeup / polling i