1.1st 500 programs try to reserver a port between 512~1024 for locking a file and release a port after finishing a lock.
前500个程序尝试保留512~1024之间的一个端口来锁定文件,并在完成锁定之后释放端口。