• Mathieu Chartier's avatar
    Make host ashmem_create_region seed only once. · 1104ae8c
    Mathieu Chartier authored
    Not seeding this each call should help reduce collisions when multiple
    threads are calling ashmem_create_region. Also cleaned up code by
    deleting gotos, and making formatting consistent.
    
    Bug: 15394258
    Change-Id: Iafdaea57b2317e0eb7c40d7b5595c523814fd88c
    1104ae8c
ashmem-host.c 3.57 KB