code: def UInt32():
    
    with _mutex:
      try:
        return _random_buffer.pop()
      except IndexError:
        data = os.urandom(struct.calcsize("=L") * _random_buffer_size)
        _random_buffer.extend(
            struct.unpack("=" + "L" * _random_buffer_size, data))
        return _random_buffer.pop()
docs: Returns a pseudo-random 32-bit unsigned integer.