Skip to content

Some suggestions about Thread.sleep() #912

@o0lwj0o

Description

@o0lwj0o

Hi, i found something in line 44-45
https://github.com/wocommunity/wonder/blob/master/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/ERXGlobalLock.java

The code will wait for 'filelock' signal. It may cause potentially endless loop. I think use ‘CountDownLatch.await’ and set a max waitting time should be helpful.

Best Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions