test queue
works,but has problems with shm