    def push(self, item, uniqId):
        '''
        @brief: 数据入队列，如果队列已经有了uniqId，插入失败
        @param item: 插入的数据
        @type item: any type
        @return: 插入是否成功
        @rtype: bool
        '''
        begtime = time.time()
        ret = True
        # self.__lock.acquire()
        lock = LockGuard(self.__lock)

        if uniqId in self.__data:
            ret = False
        else:
            self.__data[uniqId] = [item, begtime]
            self.__queue.append(uniqId)
        # self.__lock.release()
        return ret
@brief: 数据入队列，如果队列已经有了uniqId，插入失败
@param item: 插入的数据
@type item: any type
@return: 插入是否成功
@rtype: bool
biliup/Danmaku/tars/__TimeoutQueue.py