摘要:
同步与互斥这两个概念经常被混淆,所以在这里说一下它们的区别。一、同步与互斥的区别1. 同步同步,又称直接制约关系,是指多个线程(或进程)为了合作完成任务,必须严格按照规定的 某种先后次序来运行。例如,线程 T2 中的语句 y 要使用线程 T1 中的语句 x 的运行结果,所以只有当语... 阅读全文
posted @ 2015-04-29 23:11
songlee
阅读(674)
评论(0)
推荐(0)
摘要:
一、问题描述Description:Given two strings s and t, determine if they are isomorphic (同构).Two strings are isomorphic if the characters in s can be r... 阅读全文
posted @ 2015-04-29 10:42
songlee
阅读(105)
评论(0)
推荐(0)

浙公网安备 33010602011771号